Quantcast
Channel: Ubuntu 14.04 keeps asking for passphrase when ssh - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4

Answer by reynoldpj for Ubuntu 14.04 keeps asking for passphrase when ssh

$
0
0

I was able to solve the issue by adding the following lines in my "~/.bashrc"

eval `gnome-keyring-daemon --start`
USERNAME="reynold"
export SSH_AUTH_SOCK="$(ls /run/user/$(id -u $USERNAME)/keyring*/ssh|head -1)"
export SSH_AGENT_PID="$(pgrep gnome-keyring)"

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>