Skip to content

Commit

Permalink
Added ssh keys adding instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsiryk committed May 29, 2020
1 parent 18991c0 commit 9fa12c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ssh.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ Run remote GUI application on local desktop::
Multiple SSH private keys on one client
---------------------------------------

Add into your ``~/.profile`` to add all id_rsa* keys from your home .ssh dir. Applied after system relogin.::

find $HOME/.ssh/ -type f -name "id_rsa*" ! -name "*.*" -exec ssh-add "{}" \;
# Also you can manually run this command


``.ssh/config``::

Host myshortname realname.example.com
Expand Down

0 comments on commit 9fa12c2

Please sign in to comment.