Trick Machine cannot ssh into machine

Trying to ssh into trick machine with ssh private key, ssh -i michael.pri michael@trick.htb
but get no response, but when i try ssh with a made up file name i get Warning: Identity file some.txt not accessible: No such file or directory.
I even get no reply asking for a password if i try ssh michael@trick.htb.
I have all needed in /etc/hosts/ so not sure were this problem is coming from.

A general note: If ssh does not work as expected, then call ssh with the -v option or increase it up to -vvv. Typically, the verbose output gives information about the source of the error. Without the verbose message, you (and I) are left without any idea how to fix the error.

Thanks xtal
I have now used the ssh -vvv option got no warnings, but have noticed connection hanging
on debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
I am using OpenSSH_9.0p1 and remote is OpenSSH_7.9p1 i am going to check if there is any issues with my OpenSSH_9.0p1 first and then see if i can get the connection to work.

Fixed for now
ssh -o KexAlgorithms=ecdh-sha2-nistp256 michael@ -vvv

1 Like