Answer the question
In order to leave comments, you need to log in
Where can I get a fingerprint to compare with the one received on the server?
Hello!
I connect via SSH using PHP $connection = ssh2_connect('192.168.0.99', '22');
I get a fingerprint
$fp = ssh2_fingerprint($connection, SSH2_FINGERPRINT_MD5 | SSH2_FINGERPRINT_HEX);
Answer the question
In order to leave comments, you need to log in
I answer myself
ssh-keygen -lf /etc/ssh/ssh_host_rsa_key
ssh-keygen -lf /etc/ssh/ssh_host_dsa_key
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question