LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2016, 10:16 AM   #1
gazroobari
LQ Newbie
 
Registered: Aug 2016
Posts: 8

Rep: Reputation: Disabled
Putty connection to ssh server WAS working, but no longer does


Apologies, not a networking guru, otherwise I'd know the answer to this !

I've previously been able to use putty to ssh onto a server. The server was configured to prevent root having ssh access and, instead, I would log in with a user called gecko_user which was accompanied by a PPK file.

In the last 48 hours, the Linux controller concerned has had its password authentication mechanism changed from DES to SHA512. This might be a red herring, but since then I can no longer ssh onto the server. I'm getting "PuTTY fatal error. Network error - connection refused".

Do I need to re-generate the PPK file, or otherwise how do I analyse what the issue might be ?

Thanks
 
Old 08-19-2016, 10:31 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,446

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Quote:
Originally Posted by gazroobari View Post
I'm getting "PuTTY fatal error. Network error - connection refused".
This would indicate a network problem rather than an authentication issue. What happens if you attempt the connection without using the keypair?
 
Old 08-19-2016, 10:46 AM   #3
gazroobari
LQ Newbie
 
Registered: Aug 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi TenTenths,

Same error even if I leave out the key file.
 
Old 08-19-2016, 10:50 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,446

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
So it's a network problem and nothing to do with the authentication.
 
Old 08-19-2016, 11:43 AM   #5
gazroobari
LQ Newbie
 
Registered: Aug 2016
Posts: 8

Original Poster
Rep: Reputation: Disabled
Then I'm a bit lost ...
Not sure if sshd itself is refusing, or if it is something higher up the stack.
I'm guessing there's an ssh server log somewhere and will check that out, but the IP address is certainly pingable.
 
  


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
SSH using putty throws "server unexpectedly closed connection" madhavanss Linux - Networking 4 03-16-2012 05:52 AM
Different SSH "Server unexpectedly closed network connection" (using Putty) mjwraw Linux - Networking 4 07-22-2009 08:23 AM
Putty and ssh connection hangs KidKootenay Linux - Newbie 7 09-04-2004 12:30 AM
putty SSH connection deWin Linux - Newbie 3 03-26-2004 10:47 AM
my PuTTY connection over ssh is too slow. chris.pickett Linux - Networking 2 11-22-2003 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:50 AM.

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
Open Source Consulting | Domain Registration