I am running some rsync scripts and with the ssh key passphrase i have to type in the password about 20-30 times. With this two commands your can save your passphrase and don’t have to enter the password every time.
exec ssh-agent bash ssh-add
I am running some rsync scripts and with the ssh key passphrase i have to type in the password about 20-30 times. With this two commands your can save your passphrase and don’t have to enter the password every time.
exec ssh-agent bash ssh-add