Putty - Automatically closes on authentication

Rutwick Gangurde picture Rutwick Gangurde · Jul 24, 2015 · Viewed 38.5k times · Source

I'm on a Windows 7 machine. I am using the Putty.exe executable for connecting to my remote machine. I enter the right credentials, and click open. The console pops up with the following and closes with no errors or warnings.

enter image description here

How do I make it work?

Answer

Yuxiang picture Yuxiang · Apr 20, 2016

Check Putty setting: Connection > SSH > Remote command.

Try to tweak or simply remove the remote command and see if it helps solving the issue.