[EdLUG] Problem with ssh

Alistair Boak alistairboak at gmail.com
Wed Jun 24 10:06:38 UTC 2020


Hi Justin,

Just tried that and it came back “Connection refused”

I will read up on netcat and try before anything else, Thank you for the heads-up.

Hopefully see lots of folk at the next Edlug?

Cheers,

Alistair

> On 23 Jun 2020, at 19:36, Justin B Rye <justin.byam.rye at gmail.com> wrote:
> 
> Alistair Boak wrote:
>> I’ve been playing with an old Seagate GoFlex Net that I have on my
>> internal network.
> [...]
>> bash-3.2# ssh -vvv alarm at 192.168.1.179
>> OpenSSH_7.8p1, LibreSSL 2.6.2
> 
> A noughties shell version number combined with modern network
> software?  Weird, but better than the reverse.
> 
>> debug1: Reading configuration data /etc/ssh/ssh_config
>> debug1: /etc/ssh/ssh_config line 48: Applying options for *
>> debug1: /etc/ssh/ssh_config line 52: Applying options for *
> 
> (Whatever options you're defining for "any host", you probably don't
> need to say it twice, but that's sure to be a red herring.)
> 
>> debug2: resolve_canonicalize: hostname 192.168.1.179 is address
>> debug2: ssh_connect_direct
>> debug1: Connecting to 192.168.1.179 [192.168.1.179] port 22.
>> debug1: connect to address 192.168.1.179 port 22: Connection refused
>> ssh: connect to host 192.168.1.179 port 22: Connection refused
>> bash-3.2# 
> 
> Before you break out the soldering iron, there are a couple of things
> you can do to check whether you're really reaching an SSH server and
> being blocked there or whether this is a misleading error message.  If
> you probe it with something like netcat, do you see a plausible reply?
> Come to think of it, never mind fancy network diagnostics, just say:
> 
> $ cat < /dev/tcp/192.168.1.179/22
> 
> and you should get at least an SSH banner back...
> -- 
> Justin B Rye
> http://jbr.me.uk/
> 
> -- 
> EdLUG mailing list
> EdLUG at lists.edlug.org.uk
> https://lists.edlug.org.uk/mailman/listinfo/edlug




More information about the EdLUG mailing list