Hi,
I cannot ssh at all into a ubuntu vm. I have the error: ssh_exchange_identification: Connection by remote host
I am not able to connect at all. Let me know if you know a way to fix this.
Linux NetworkingLinux DistributionsLinux
Last Comment
arnold
8/22/2022 - Mon
ldvhai
Hi Eric Donaldson,
Can you access vm console? if possible you can try:
1. check your firewall
2. check port ssh.
3. check /etc/hosts.deny and /etc/hosts.allow
4. Try to access to vm with normal user, not root.
5. run command ps aux | grep sshd and check MaxSessions in ssh server
Eric Donaldson
ASKER
Ok, thanks - I am able to ssh in from a different server, it seems to re-import the fingerprint from the server. How can I remove the fingerprints from the other servers so I can login from my nomal pc?
arnold
You need to delete the record for the IP from the known keys. what software are you using to ssh?
on linux, .ssh/known_hosts is where you will find the IP/Hostname matching key that needs to delete.
Can you access vm console? if possible you can try:
1. check your firewall
2. check port ssh.
3. check /etc/hosts.deny and /etc/hosts.allow
4. Try to access to vm with normal user, not root.
5. run command ps aux | grep sshd and check MaxSessions in ssh server