[EdLUG] Problem with ssh

Colin Shorts colin.shorts at gmail.com
Tue Jun 23 17:49:59 UTC 2020


It might be worth trying a serial connection, looks to be fairly easy to
solder on some headers and connect using a ttl USB adapter. The usual
warnings apply - it's 3.3V, only connect ground, tx, and rx.

Plenty of examples on Google šŸ˜

I've *never* done anything like that, honest!

If you can't solder, now is a great time to pick up a very useful skill šŸ˜

-Colin

On Tue, 23 Jun 2020, 18:12 Alistair Boak, <alistairboak at gmail.com> wrote:

> Hi everyone,
>
> Iā€™ve been playing with an old Seagate GoFlex Net that I have on my
> internal network.
>
> I installed Archlinux/arm on a USB thumb drive, and it was working fine
> until I had the brilliant idea (NOT) to see what would happen if I switched
> the drive and used a live Ubuntu distro on it and tried to ssh into that!
> (Iā€™m wearing ear-muffs so I cant hear the laughter).
>
> Anyway, I can now no longer ssh into the original Archlinux/arm USB drive,
> there is a reset button on the Seagate net which I had used on the
> Archlinux/arm and it reset and continued working, however, it doesnā€™t do
> anything since I plugged in the other drive.
>
> I can still see the Net it as I can ping it, and when I ssh I get a
> ā€˜connection refusedā€™ response.  I read some of the ssh man pages and it
> said to try the debug option -v and -vv and -vvv and the output is shown
> below:
>
> ssh: connect to host 192.168.1.179 port 22: Connection refused
> bash-3.2# ssh -v alarm at 192.168.1.179
> OpenSSH_7.8p1, LibreSSL 2.6.2
> 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 *
> 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# ssh -vv alarm at 192.168.1.179
> OpenSSH_7.8p1, LibreSSL 2.6.2
> 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 *
> 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# ssh -vvv alarm at 192.168.1.179
> OpenSSH_7.8p1, LibreSSL 2.6.2
> 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 *
> 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#
>
> Line 48 and 52 in /etc/ssh/ssh_config both have "Host *ā€ written in them.
>
> Apologies for the very long email but any help would be gratefully
> received - or do I just bin the device? (Joking)
>
> Cheers
>
> Alistair B
> (One of several on this list)
> --
> EdLUG mailing list
> EdLUG at lists.edlug.org.uk
> https://lists.edlug.org.uk/mailman/listinfo/edlug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.edlug.org.uk/pipermail/edlug/attachments/20200623/596cc8e2/attachment-0001.html>


More information about the EdLUG mailing list