I'm connecting to a SSH server with a key file that has a passphrase. How can I make ssh stop asking for passphrase and always use the correct passphrase?
|
feedback
|
|
Obviously you have to provide the correct passphrase at least once. take a look at I use this line in my shell startup script:
Therefore I have to provide the passphrase once the shell starts, and it is stored for the whole login process.
| ||||
|
feedback
|
|
You can use | |||
|
feedback
|
|
The key is stored in a "locked" state, and is unlocked by your passphrase every time you want to use it. You can create a key without a passphrase (not recommended), or most operating systems allow you to unlock the key for a certain period of time, or even from login. Which OS are you using? | |||
|
feedback
|