I followed
this tutorial to set up public key authentication so that I can use ssh in a script called by crontab.
The tutorial says to add this to the .bashrc file (or .bash_profile?):
Quote:
alias keyon="ssh-add -t 10800"
|
Which gives a timeout of about 3 hours.
However, I would like to know if it's possible to completely remove the timeout and if not, what the maximum time limit is for ssh-add.
What happens if I just put in:
?
Will it memorize the keys until I reboot or type keyoff?