Can't connect to a Linux server(Debian Flavour) via SSH.
Announcement
Collapse
No announcement yet.
Linux server SSH error :: connection refused
Collapse
X
-
Hello David,
There were unknown changes made in /etc/ssh/ssh_config file. To fix this issue, we had installed OpenSSH server following below mentioned steps:- Logged into VPS through console and fired following commands:
sudo apt-get purge openssh-server
mv /etc/ssh /etc/ssh_old
created new ssh directory in /etc
sudo apt-get install openssh-server - Try ssh after performing above steps. If you get "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED", rename the known_hosts from .ssh/ in your local machine and try again.
Regards,
Nikhil
- Logged into VPS through console and fired following commands:
-
Hello Nikhil,
Can not connect to the server via SSH?- Verify that the host IP address is correct.
- Verify the firewall rules.
- check the inbound rules allowed by the security group.
- Verify the port number allowed for ssh.
- Verify that the service is running properly.
Regards,
Nora.Kirk
Comment
-
Hello David_123,
- Ping your VPS. As with most network connectivity problems the first step should be to ping your server.
- Use VNC to gain access if an internet connection is established but SSH is not.
- Verify the VPS Firewall Rules.
- Verify the SSH Service Status.
- Verify the SSH Port.
Regards,
Vineeta.
Comment
Comment