View Full Version : [all variants] ssh probs ?

April 13th, 2012, 03:18 PM
Is there some way to figure out why my ssh/sftp sessions are being terminated even before I start, right after login? I know I have used my remote Linux cluster server earlier from my ubuntu PC and I can get there any time from my Windows PC using Windows ssh and ftp clients....TiA for any advise...


April 14th, 2012, 03:37 PM
Thread moved to Server Platforms.

April 14th, 2012, 03:40 PM
Are you getting any error messages?

April 14th, 2012, 03:57 PM
Also you can do is run the ssh command with the option -vv or even -vvv for verbose output from the ssh communication process.

April 14th, 2012, 04:01 PM
Let's first identify if this is an SSH problem.

Can you login to machine without SSH (i.e. walk up to the machine and login to a TTY)?

To add to what newbie-user wrote, have a look at syslog (/var/log/syslog) on the sshd server give you any hints why the sessions are being cut short.

If you don't find any hints, then trying running sshd with the debug flag (-d) and check the log again.