ssh and putty (Slack 14.2)
Hi all
I installed a brand new slack 14.2, then configured sshd the same I did on other servers I have... So, if I connect from a linux box I can connect. If I connect from windows and Putty on an old server I can connect If I connect from windows and Putty on the new server connectin is refused. Iptables Flushed Open. Sshd config on both linux box is the same... It'd drivin' me crazy.. Any hint? Thanks. |
Stating with Slackware 14.2, NO password login for you as root! :p
At least unless you mess with the SSHD configuration. Hint: look for Code:
#PermitRootLogin prohibit-password |
Hi,
in sshd.config there is "PermitRootLogin yes". In fact from another linux bos I can access via ssh. From Windows with Putty the answer is "Network error! Connection refused!".. |
have you double checked that your ip and port entries in putty are correct?
iirc you get a "Network error! Connection refused" when your port or ip settings are wrong or when the server simply isnt running but you posted that it is. also check your router and/or firewalls and actually before you do anything have a look at the sshd logs to see whats happening when your putty tries to connect |
The "Network error! Connection refused!" error might not be related but another idea is recent versions of SSH deprecated older Diffie-Hellman support. We ran into this at work months ago with using Putty. A work-around: https://www.openssh.com/legacy.html
|
ronini --
Maybe this ? We recently helped a Customer upgrade a 15 Year-Old CentOS 4 Box to CentOS 7. None of the EXISTING Putty Clients on any of their PeeCees could connect until we upgraded Putty to the latest version: putty 0.70 HTH. -- kjh |
All times are GMT -5. The time now is 02:44 AM. |