After a change of Internet provider, hence of modem/router and IP address, I cannot log in from home to a server via ssh as I used to do with the previous provider. The change of circumstances is at the client/host/home side.
If I ask ssh what happened with ssh -YC guest@server.com -v
, the result is:
OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /home/user/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to server.com [aaa.bbb.ccc.ddd] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/user/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8
ssh_exchange_identification: read: Connection reset by peer
What are the steps to restore the previous safe situation?
The client/localhost is a desktop system running on Ubuntu 16, although this is reproducible with other Ubuntu releases. The server is the login node of a computer cluster at the workplace; this runs on Debian Buster. The new provider is reputable and is not blacklisted. The factors that ostensibly changed between before and afterwards are those linked to the new service: hardware-wise the router, software-wise the IP address.
ssh
connection rather than forwarding to the server inside. This assums that the server is behind the new modem on the new ISP. Please provide more details about which system is where relative to the new modem.sshd_config
or in some firewall beforessh
gets the connection. Can you simplync SERVER-IP 22
and get a connection usingnetcat
?