LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ssh and putty (Slack 14.2) (https://www.linuxquestions.org/questions/slackware-14/ssh-and-putty-slack-14-2-a-4175631160/)

ronini 06-04-2018 06:18 AM

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.

Darth Vader 06-04-2018 08:24 AM

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

ronini 06-04-2018 09:26 AM

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!"..

wigums 06-06-2018 11:18 AM

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

upnort 06-06-2018 11:51 AM

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

kjhambrick 06-06-2018 04:16 PM

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.