odd ssh behaviour

Ken D'Ambrosio ken at jots.org
Thu Jun 29 14:36:50 UTC 2017


On 2017-06-29 10:26, Jonesy wrote:
> On Wed, 28 Jun 2017 23:31:29 +0100, Ben Edwards wrote:
>> 
>> ssh: connect to host 192.168.1.110 port 22: Connection refused

>> 
>> Any ideas?
> 
> $ ssh -v -v -v .......

That's a really good point -- for almost any other error.  "Connection 
refused" means that he couldn't even connect to port 22, so there's 
really nothing about the handshake that verbosity is going to help with. 
  But, again, it's a *really* good point, because if a connection can be 
established, cranking up the verbosity spits out an obscene amount of 
info.  Likewise, server-size, I often fire up "/usr/sbin/sshd -d" to see 
what's happening there.

$.02,

-Ken




More information about the ubuntu-users mailing list