Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add passphrase to ssh agent

/usr/bin/ssh-add --apple-use-keychain ~/.ssh/id_rsa
Comment

ssh agent remember passphrase

$ SSH_AUTH_SOCK=/tmp/ssh-hZQhwQlxahPX/agent.1833; export SSH_AUTH_SOCK; 
$ SSH_AGENT_PID=1834; export SSH_AGENT_PID; 
Comment

ssh agent remember passphrase

$ ssh-add .ssh/id_rsa 
Enter passphrase for .ssh/id_rsa: 
Identity added: .ssh/id_rsa (.ssh/id_rsa)
Comment

ssh agent remember passphrase

$ ssh-agent 
SSH_AUTH_SOCK=/tmp/ssh-hZQhwQlxahPX/agent.1833; export SSH_AUTH_SOCK; 
SSH_AGENT_PID=1834; export SSH_AGENT_PID; 
echo Agent pid 496; 
Comment

how to add passphrase to ssh key

ssh-keygen -p -f ~/.ssh/id_rsa
Comment

how to add passphrase to ssh key

ssh -i ~/.ssh/id_rsa localhost
Comment

how to add passphrase to ssh key

-p      Requests changing the passphrase of a private key file instead of
         creating a new private key.  The program will prompt for the file
         containing the private key, for the old passphrase, and twice for
         the new passphrase.

 -f filename
         Specifies the filename of the key file.
Comment

ssh agent remember passphrase

$ ssh-add -l
Comment

PREVIOUS NEXT
Code Example
Shell :: add upstream in git 
Shell :: how to add an existing project to github 
Shell :: bash vi mode 
Shell :: install qemu 
Shell :: adonis js make seeder 
Shell :: check all the ports in use mac 
Shell :: get mac address linux 
Shell :: foreach bash 
Shell :: change default editor linux 
Shell :: installing zsh oh my zsh wsl 
Shell :: git filter-branch remove file 
Shell :: ubuntu install jdk 14 
Shell :: git fix Large files detected. 
Shell :: ubuntu get process on port 
Shell :: git rebase an origin branch into my branch 
Shell :: arch install fonts 
Shell :: * branch master - FETCH_HEAD 
Shell :: xclip does not work 
Shell :: docker-compose compose clear cache 
Shell :: git log graph oneline 
Shell :: how to upload laravel project on github using command 
Shell :: add ssh to already cloned repo 
Shell :: linux get current user 
Shell :: mac os generate public key from private key 
Shell :: git command to switch from my current branch to another in android studio 
Shell :: linux create user 
Shell :: git username and password in terminal 
Shell :: git worktree remove 
Shell :: speedtest linux cli 
Shell :: change remote url github 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =