kb:intranet:platforms:ubuntu:installserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
kb:intranet:platforms:ubuntu:installserver [3 months ago ( 3 December 2024)] – [Others] justin | kb:intranet:platforms:ubuntu:installserver [3 weeks ago (21 February 2025)] (current) – [Private/public key pair generation] justin | ||
---|---|---|---|
Line 147: | Line 147: | ||
Keys can be configured to be auto-added using '' | Keys can be configured to be auto-added using '' | ||
+ | |||
+ | ++++ | ||
+ | |||
+ | ++++ Using .bashrc for ssh-agent | | ||
+ | |||
+ | Copied from [[https:// | ||
+ | |||
+ | <code bash> | ||
+ | # set SSH_AUTH_SOCK env var to a fixed value | ||
+ | export SSH_AUTH_SOCK=~/ | ||
+ | |||
+ | # test whether $SSH_AUTH_SOCK is valid | ||
+ | ssh-add -l 2>/ | ||
+ | |||
+ | # if not valid, then start ssh-agent using $SSH_AUTH_SOCK | ||
+ | [ $? -ge 2 ] && ssh-agent -a " | ||
+ | </ | ||
+ | |||
++++ | ++++ |
kb/intranet/platforms/ubuntu/installserver.txt · Last modified: 3 weeks ago (21 February 2025) by justin