Using keys: Difference between revisions
No edit summary |
→Troubleshooting: adds troubleshooting tip |
||
| Line 31: | Line 31: | ||
== Troubleshooting == | == Troubleshooting == | ||
Check <code>/var/log/auth.log</code> on the remote server for details if this doesn't work as expected. | Check <code>/var/log/auth.log</code> on the remote server for details if this doesn't work as expected. | ||
When logging in to the server, use the verbosity switch on the ssh command. Increase verbosity with additional "v"s | |||
<source lang="bash"> | |||
ssh -vvv me@example.com | |||
</source> | |||
If you want to check what version of SSH is running on a server, you could do this with telnet (although the ssh client will also tell you this information): | If you want to check what version of SSH is running on a server, you could do this with telnet (although the ssh client will also tell you this information): | ||