Lomadee, uma nova espécie na web. A maior plataforma de afiliados da América Latina.

quinta-feira, novembro 30, 2017

Fixing ssh client asking for your key password on Mac OS X

Since recent versions of Mac OS X, there is a change of behavior when using ssh client to connect to remote servers using public key authentication. This change was introduced in version 10.12.2 and was documented in technical note TN2449.

Basically, you have to edit your ~/.ssh/config file to add the following statements:

Host *
    UseKeychain yes
After this, your ssh client will work as expected and your daily life will be easier.