Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Was on my laptop one night, putty'd into my local ubuntu server and I shutdown my laptop without exiting my putty session. Now I cannot log into my linux server in any way except locally (on the 'nix box itself that is).
I have uninstalled and reinstalled openssh-server/client and nothing seems to work.
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Have you checked /var/log/system, /var/log/auth and /var/log/messages on you Ubuntu box? Any ssh problems *should* show up there.
Also, try to ssh from a console on you Ubuntu machine into the machine itself. Might sound weird, but it works. If you succeed, there is nothing wrong with your server, but indeed on the client side. Do this experiment with the same user name as used on the laptop. If you are logged in differently on the Ununtu machine, use:
I am surprised that you could ever ssh into an Ubuntu box as root. Root logins are supposed to be disabled, and it is best practice to disable logging into ssh as root. Can you log in as a regular user on the ubuntu box?
Check if the ssh daemon is running on the Ubuntu box. Also use a telnet client to see if you get a response:
telnet hpmedia 22
Connected to hpmedia.
Escape character is '^]'.
I was never logging in as root, but instead as a particular user. Sorry for the misunderstanding. Also I cannot even telnet to the ssh server on port 22 from my windows box. Everything works locally, but nothing works from the outside in.
Doesn't Ubuntu have a firewall configuration program for the Linux firewall?
Are you trying to ssh into the Linux box from the LAN or the internet. If from the internet, make sure your router forwards port 22 to your Linux box. If from the LAN, then it still sounds like either the service isn't running or the ports are blocked.
Look at "netstat -l" and see if the ssh service is listening. Also check your /etc/hosts.allow & /etc/hosts.deny files.