Can't connect to SSH
Linode
Linode Staff
I'm not able to connect to my Linode via SSH.
1 Reply
tommydavidson
Linode Staff
If you cannot connect via SSH, you can use our out-of-band LISH console to connect instead. From there, you can run the command:
sudo netstat -plunt
cat /etc/ssh/sshd_config | egrep 'PasswordAuth|PermitRoot|Port'
The first command will let you verify that your SSH server is running and listening to the correct port, while the second will let you verify your current port/authentication settings.
You can also test with Nmap and MTR from a remote machine:
nmap -p <port> <ip.address>
mtr -T -p <port> -rwbzc 100 <ip.address>
Just substitute the port number your SSH service is running on for <port>
and the IP address or hostname of your Linode for <ip.address>