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.
How do I make it work?
By default the putty widows closes during ssh if there are any error on the server side without showing the error message as to why the session had failed.
On the local system, open Putty, enter the ip address details of the remote system. Now from the left navigation, select Connection -> Data. Enter 'ubu' as 'Auto-login username' on the right panel.
Check Putty setting: Connection > SSH > Remote command.
Try to tweak or simply remove the remote command and see if it helps solving the issue.
What you are describing is trying to log into the shell with a user that is an "ftp only" user (not authorized shell access).
Go to Control Panel -> Users -> Manage Users, select the "Edit" link adjacent to the user you are having trouble with, and make sure that the radio button for "shell" is selected. Submit the form, and wait for it to take effect (usually a matter of a few minutes).
Once the change has taken effect, you should be able to telnet (though, please do not use telnet, as it is insecure) or ssh into the shell without problem (assuming the user/pass is correct).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With