How can I permanently save a password-protected SSH key?

Posted by pl1nk on Ask Ubuntu See other posts from Ask Ubuntu or by pl1nk
Published on 2012-05-18T12:08:02Z Indexed on 2012/06/09 4:47 UTC
Read the original article Hit count: 313

Filed under:
|

I am using Awesome Window Manager

How can I permanently add private keys with password?

Inspired by the answer here I have added the private keys in ~/.ssh/config

Contents of ~/.ssh/config:

IdentityFile 'private key full path'

Permissions of ~/.ssh/config: 0700

But it doesn't work for me.

If I manually add the key in every session, it works but I'm looking for a more elegant way (not in .bashrc)

© Ask Ubuntu or respective owner

Related posts about ssh

Related posts about key