This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
it_tips:ssh [2023/10/09 14:25] florido |
it_tips:ssh [2023/10/09 14:27] florido |
||
---|---|---|---|
Line 199: | Line 199: | ||
</code> | </code> | ||
- Try to login to the server **using the identity created**: Command:<code:bash>ssh -i ~/.ssh/myid_rsa.pub pflorido@watto.matfys.lth.se</code> | - Try to login to the server **using the identity created**: Command:<code:bash>ssh -i ~/.ssh/myid_rsa.pub pflorido@watto.matfys.lth.se</code> | ||
+ | |||
+ | For every entry in your config you will need to run ssh-copy-id if you want to use ssh keys on that entry. This will copy the key to the target machine (for example beast) | ||
You can now create entries in your ''~/.ssh/config'' file to use tunnelling as described in [[#Speedup connection using tunneling]], and the agent should automatically forward your keys. | You can now create entries in your ''~/.ssh/config'' file to use tunnelling as described in [[#Speedup connection using tunneling]], and the agent should automatically forward your keys. | ||
+ | |||
===== Debugging SSH problems and useful commands ===== | ===== Debugging SSH problems and useful commands ===== |