Problem : cannot ssh into the Solaris 11 server
$ ssh id@$ip_solaris11
ssh_exchange_identification: Connection closed by remote host
Solution : vi /etc/hosts.allow, add the subnet or IP of the client and then restart inetd
vi /etc/hosts.allow and make sure the subnet or IP of the client is added to the sshd ALLOW section.
sshd: x.x.x.x/255.255.255.0 \
10.100.0.0/255.255.0.0 \
x.x.x.x/255.255.255.0 : ALLOW
Make sure sshd service is ON
# svcs -a | grep ssh
online Sep_02 svc:/network/ssh:default
Now restart inetd
# svcadm restart inetd
No comments:
Post a Comment