ssh is not connecting in SuSE10 - TechRepublic
Question
September 22, 2009 at 05:21 AM
eldhom

ssh is not connecting in SuSE10

by eldhom . Updated 16 years, 8 months ago

Hi….
I am not able to connect to our SuSE10 – 64 bit machine via ssh. I tried to restart the service using “/etc/initd.d/sshd restart”, it is failing without any error message.

To debug i did the following:

1. In the file /etc/init.d/sshd there is an option “start” . Under that there is a statement “startproc -f -f $SSHD_PIDFILE /usr/sbin/sshd $SSHD_OPTS -o “PidFile=$SSHD_PIDFILE”

I added echo $? and restart ssh. Now it failed with error 7.

2. I compared the binary files /usr/sbin/sshd of this machine and another machine [suse 10 64 bit] in which ssh is working. Both differ.

3. I tried to replace the following files from another system in which ssh is working.

/etc/ssh/sshd_config
/etc/init.d/sshd
/etc/pam.d/sshd
/usr/sbin/sshd

and then restarted ssh. Still the same error.

Kindly let me know how to fix this issue.

This discussion is locked

All Comments