User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
foss:wikishelf:ssh:authentication [2014/02/14 19:55]
Jean-Christophe Berthon Updated applicability and improved the deployment section
foss:wikishelf:ssh:authentication [2015/05/01 23:32] (current)
Line 83: Line 83:
 ==== Troubleshooting ==== ==== Troubleshooting ====
 +===== Extra Commands =====
 +This section list some useful commands for better using SSH.
 +SSH can provide you with strong authenticity,​ but one needs to verify at the first connection the host fingerprint to make sure it is connecting to the right host. Or when exchanging with a third party your public keys (and doing via an untrusted medium such as the internet), you might want to exchange via a secure medium the fingerprint of your keys.
 +Print the fingerprint of a public key (SSH host or user key):
 +<​code>​ssh-keygen -l -f <​path-to-the-key></​code>​
 +Print the fingerprint of already accepted host:
 +<​code>​ssh-keygen -l -f ~/​.ssh/​known_hosts -F <​hostname></​code>​
 ===== Related articles ===== ===== Related articles =====
foss/wikishelf/ssh/authentication.txt · Last modified: 2015/05/01 23:32 (external edit)