Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172774 > unrolled thread

debian 6 ssh telnet not working

Started byDave Cullins <culser1242@gmail.com>
First post2016-09-25 20:50 +0200
Last post2016-09-26 01:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  debian 6 ssh telnet not working Dave Cullins <culser1242@gmail.com> - 2016-09-25 20:50 +0200
    Re: debian 6 ssh telnet not working Brian <ad44@cityscape.co.uk> - 2016-09-25 21:00 +0200
    Re: debian 6 ssh telnet not working Mark Fletcher <mark27q1@gmail.com> - 2016-09-26 01:20 +0200

#172774 — debian 6 ssh telnet not working

FromDave Cullins <culser1242@gmail.com>
Date2016-09-25 20:50 +0200
Subjectdebian 6 ssh telnet not working
Message-ID<slmEV-1IC-9@gated-at.bofh.it>
Hello

I am using Debian 6 for my server.

SSH & telnet are not working, they both used to work.  Router setting 
look good and were confirmed by the Linksys support.

when i try to telnet to my server i get ....
"Connection Refused By Host"

can you advise or forward me to a resource

Thx

Dave

[toc] | [next] | [standalone]


#172775

FromBrian <ad44@cityscape.co.uk>
Date2016-09-25 21:00 +0200
Message-ID<slmOB-1LK-7@gated-at.bofh.it>
In reply to#172774
On Sun 25 Sep 2016 at 14:25:47 -0400, Dave Cullins wrote:

> I am using Debian 6 for my server.
> 
> SSH & telnet are not working, they both used to work.  Router setting look
> good and were confirmed by the Linksys support.

You are using Jessie on the client?

Now they do not work. You have made no changes whatsoever on the server
or client in the past week or month?

> when i try to telnet to my server i get ....
> "Connection Refused By Host"

What does

  ping <server_IP>

give you. Please post the complete output of the command.

> can you advise or forward me to a resource

When you clarify it might be possible.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#172778

FromMark Fletcher <mark27q1@gmail.com>
Date2016-09-26 01:20 +0200
Message-ID<slqSd-4uY-5@gated-at.bofh.it>
In reply to#172774
On Sun, Sep 25, 2016 at 02:25:47PM -0400, Dave Cullins wrote:
> Hello
> 
> I am using Debian 6 for my server.

Debian _6_? As in Squeeze? (if I remember right, given Jessie is 8)

> 
> SSH & telnet are not working, they both used to work.  Router setting look
> good and were confirmed by the Linksys support.
> 

My guess is either incompatibility of SSH libraries, or, since telnet 
also seems to be affected, incompatibility of mDNS eg your older server 
is not running Avahi and hence isn't making its presence known. That is 
a guess though, and is based on the assumption that both server and 
client are on your local network. Situation will no doubt be more 
complicated if they are not.

> when i try to telnet to my server i get ....
> "Connection Refused By Host"
> 

I echo Brian's comment -- start with trying to ping the server from the 
client. Can the client see the server? Well actually...

1) Can the client ping the server by IP address not by name? If no, 
you have a routing problem between your client and your server and we 
will need to know much more about your setup to help you diagnose it. 

2) If yes, can the client resolve the name of the server into an IP address 
for itself? (determined by whether a ping by name instead of IP address 
works in the presence of a positive answer to 1) ). If so, I would start 
to suspect incompaitibilities between client and server libraries. If 
not, and 1) was yes, you can ssh using the IP address while we 
collectively try to figure out why name resolution is not working.

3) If the server is _not_ on the same network as the client, what is the 
output of -- "dig <name of server>" when run from the client?

eg dig myserver.made.up.address.com

(you may need to first install the dnsutils package for dig to work)

For what it's worth, either during wheezy days or maybe late squeeze, I 
forget, some other ssh clients I use stopped working with my server because 
the client upgraded to a later version of SSH and the server didn't, and 
the client would not accept the server's version, regarding it as 
insecure, but the error message you got wasn't clear that that was the 
issue. Something similar could be going on here if the client side is 
less prehistoric than your server side.

I presume advocating an upgrade of your server wouldn't be considered helpful?

Mark

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web