![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Can't do ssh
We have a test box in solaris and some of 20 servers in prod. The problem is i can ping from test box to all prod box, but can't to ssh to prod box. If i try from prod to test box it giving unknown host error, SO what i need to check in test box
I did ps -ef |grep ssh it showing ssh is running Please guide me what i need to do. Thanks in Advance.. Prasad |
| Forum Sponsor | ||
|
|
|
|||
|
which version of solaris are you doing?
if solaris 10, do svcs -vx and post the output. if solaris 8 or 9, check the /etc/ssh/sshd_config file, /etc/defaultrouter , /etc/resolve.conf. Are you able to ping to your gateway? whats the output of netstat -rn? |
|
|||
|
Its solaris 8
There is no ssh directory in etc, I can able to ping defaultrouter. # more resolv.conf domain domain.com nameserver 10.0.108.12 nameserver 10.0.108.13 # ping 10.6.110.10 10.6.110.10 is alive # netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 10.6.110.0 10.6.110.139 U 1 12 dmfe0 224.0.0.0 10.6.110.139 U 1 0 dmfe0 default 10.6.110.10 UG 1 45 127.0.0.1 127.0.0.1 UH 2 9 lo0 # ps -ef |grep -i ssh root 291 1 0 22:30:28 ? 0:00 /usr/local/sbin/sshd root 532 370 0 06:13:00 console 0:00 grep -i ssh |
|
|||
|
since when you facing this issue? any changes made on the system recently? any reboot?
1) you can try to stop/start the sshd daemon 2) hope you're not trying to ssh as "root" 3) any subnets being blocked in the /etc/hosts.deny file (check the hosts.allow file as well) 4) how abt the sshd_config? PermitRootLogin line param? 5) can you ssh using the IP instead? 6) nslooklup hostname (does this return you your server IP)? Last edited by incredible; 07-02-2008 at 06:48 AM. |
|||
| Google UNIX.COM |
| Tags |
| solaris |
| Thread Tools | |
| Display Modes | |
|
|