[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to ssh to Debian 9 from 9 or 11



On Sun, Jul 16, 2023 at 03:46:06PM +0800, jeremy ardley wrote:
> 
> On 16/7/23 15:39, Roger Price wrote:
> > So it's something else?  Roger
> 
> 
> Have you checked /etc/ssh/sshd_config on the target to see if it is actually
> listening on port 22? You can also use netstat to see listening ports and
> processes

OP has checked with netstat/ss. Yes, sshd /is/ listening on 0.0.0.0:22
Besides this would lead (as Greg noted) to a "connection refused", not
to a timeout.

> Second is to check the /etc/ssh/ssh_config on the originating machine to
> make sure nothing funny.
> 
> Finally check ~/.ssh/config on your originating machine and see if there is
> any conflicting lines that may perhaps make you try and connect to the wrong
> host

All those options effect too late for the observed behaviour.

cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: