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


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

ssh policy change in new stretch??

Started byLong Wind <longwind2@yahoo.com>
First post2019-03-08 00:20 +0100
Last post2019-03-08 08:40 +0100
Articles 4 — 4 participants

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  ssh policy change in new stretch?? Long Wind <longwind2@yahoo.com> - 2019-03-08 00:20 +0100
    Re: ssh policy change in new stretch?? deloptes <deloptes@gmail.com> - 2019-03-08 01:20 +0100
    Re: ssh policy change in new stretch?? Ben Caradoc-Davies <ben@transient.nz> - 2019-03-08 02:30 +0100
    Re: ssh policy change in new stretch?? Reco <recoverym4n@enotuniq.net> - 2019-03-08 08:40 +0100

#206058 — ssh policy change in new stretch??

FromLong Wind <longwind2@yahoo.com>
Date2019-03-08 00:20 +0100
Subjectssh policy change in new stretch??
Message-ID<xzasW-8eE-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

i run command below and it work in early debian:

 ssh zhou@192.168.1.3
but new stretch says:

ssh: connect to host 192.168.1.3 port 22: Connection refused
what should i do? Thanks!

[toc] | [next] | [standalone]


#206059

Fromdeloptes <deloptes@gmail.com>
Date2019-03-08 01:20 +0100
Message-ID<xzbp0-mK-1@gated-at.bofh.it>
In reply to#206058
Long Wind wrote:

> i run command below and it work in early debian:
> 
> ssh zhou@192.168.1.3
> but new stretch says:
> 
> ssh: connect to host 192.168.1.3 port 22: Connection refused
> what should i do? Thanks!

Run ssh -v zhou@192.168.1.3
or  ssh -vv zhou@192.168.1.3
or  ssh -vvv zhou@192.168.1.3

you see more debug output. if you have questions paste output here

regards

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


#206061

FromBen Caradoc-Davies <ben@transient.nz>
Date2019-03-08 02:30 +0100
Message-ID<xzcuJ-ZY-1@gated-at.bofh.it>
In reply to#206058
On 08/03/2019 12:12, Long Wind wrote:
> i run command below and it work in early debian:
>   ssh zhou@192.168.1.3
> but new stretch says:
> ssh: connect to host 192.168.1.3 port 22: Connection refused
> what should i do? Thanks!

Has the server also been upgraded to stretch? Is sshd running on the 
server? Is there a firewall on the server? Try:

ssh -vvv zhou@192.168.1.3

to see the full connection attempt. You can also check whether the port 
is open with (on the client):

nmap -p 22 192.168.1.3

Kind regards,

-- 
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

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


#206067

FromReco <recoverym4n@enotuniq.net>
Date2019-03-08 08:40 +0100
Message-ID<xzigN-4Fn-9@gated-at.bofh.it>
In reply to#206058
	Hi.

On Thu, Mar 07, 2019 at 11:12:06PM +0000, Long Wind wrote:
> i run command below and it work in early debian:
> 
>  ssh zhou@192.168.1.3
> but new stretch says:
> 
> ssh: connect to host 192.168.1.3 port 22: Connection refused
> what should i do? Thanks!

Start ssh server on 192.168.1.3, or modify iptables REJECT rule on
192.168.1.3 that prevents you to access tcp:22.
There are two way to interpret "Connection refused" message, and both
do not have anything in common with ssh server settings.

Reco

[toc] | [prev] | [standalone]


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


csiph-web