LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2018, 06:18 AM   #1
ronini
LQ Newbie
 
Registered: Jun 2018
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 06-04-2018, 08:24 AM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Stating with Slackware 14.2, NO password login for you as root!

At least unless you mess with the SSHD configuration. Hint: look for
Code:
#PermitRootLogin prohibit-password

Last edited by Darth Vader; 06-04-2018 at 08:26 AM.
 
1 members found this post helpful.
Old 06-04-2018, 09:26 AM   #3
ronini
LQ Newbie
 
Registered: Jun 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
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!"..
 
Old 06-06-2018, 11:18 AM   #4
wigums
Member
 
Registered: Oct 2013
Location: Detroit
Distribution: slackware and raspbian
Posts: 67

Rep: Reputation: Disabled
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
 
Old 06-06-2018, 11:51 AM   #5
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 818

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 06-06-2018, 04:16 PM   #6
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Ubuntu server remote ssh and local network ssh issues using putty. scottpops Linux - Server 8 05-17-2012 05:07 PM
[SOLVED] putty ssh works but ssh from terminal does not felixtheratruns Linux - Server 6 04-29-2010 12:01 PM
[putty&ssh] Who is really good & expert in ssh https tunnelling and firewalling ? Xeratul Linux - General 12 12-03-2006 03:22 AM
SSH and Putty... Linux~Powered Linux - Security 4 06-15-2006 02:50 PM
Wierd characters when PuTTY connects to Slack Kocil Slackware 4 09-12-2003 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration