SSH: suddently can't connect to any host
Posted: 12 Jan 2016, 16:38
Hi,
I've been using Porteus for a few months on a low-profile netbook, ssh'ed every day to my other (distant) systems with great success. Key-based / passsword auth and X11 forwarding worked.
Using ~/.ssh/config to automatise my workflow. Have yet to configure keychain-like, meanwhile have been using ssh-agent & ssh-add before launching with ServerAlive* and ControlMaster/Persist with socket.
In case it's linked, two days ago I installed x2Go and generated a RSA key (x2Go does not handle ed25519 keys), then copied the id_rsa (pub) to one of my servers, and added it to the known_hosts file. Also I had to install & launch sshd (with a custom port) for x2Go.
Since then ssh has stopped to "work".
ssh <hostname> expires after minutes with no related log on the servers (I can access the later from my smartphone and tablet)
ssh -vvv -pPORT myuser@hostX
Reverted ~/.ssh/ content to what it was before adding the RSA encrypted key and the line in know_hosts ; yet ssh times out. Same if I move the whole ~/.ssh folder's content and try to connect 100% manually w/password auth. Each time the server shows no sign of activity, like when you've lost the network connection or typed the wrong IP or there's no running ssh server on the host (here they are running).
Tested if I can access every other systems from one another, and yes, I can each time, but from Porteus.
Please help as I'm out of luck trying to debug that one
EDIT: clarified the one-before-the-last phrase.
I've been using Porteus for a few months on a low-profile netbook, ssh'ed every day to my other (distant) systems with great success. Key-based / passsword auth and X11 forwarding worked.
Using ~/.ssh/config to automatise my workflow. Have yet to configure keychain-like, meanwhile have been using ssh-agent & ssh-add before launching with ServerAlive* and ControlMaster/Persist with socket.
In case it's linked, two days ago I installed x2Go and generated a RSA key (x2Go does not handle ed25519 keys), then copied the id_rsa (pub) to one of my servers, and added it to the known_hosts file. Also I had to install & launch sshd (with a custom port) for x2Go.
Since then ssh has stopped to "work".
ssh <hostname> expires after minutes with no related log on the servers (I can access the later from my smartphone and tablet)
ssh -vvv -pPORT myuser@hostX
Code: Select all
OpenSSH_6.7p1, OpenSSL 1.0.1j 15 Oct 2014
debug1: Reading configuration data /home/kozaki/.ssh/config
debug1: /home/kozaki/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to <host_alias> [<host_IP>] port <PORT>
<Go make a call, make cofee or something>
debug1: connect to address 90.62.206.176 port 1437: Connection timed out
ssh: connect to host llewellyn.zapto.org port 1437: Connection timed out
can't connect either.
Tested if I can access every other systems from one another, and yes, I can each time, but from Porteus.
Please help as I'm out of luck trying to debug that one
EDIT: clarified the one-before-the-last phrase.