I apologize if this has been covered before. I did a search for 'ssh-agent' and could not find this problem.
I have my linux machines set up to authenticate SSH connections with private/public keys. I've done the same with the 'root' and 'user' users on my n800. It works as it should, except when I try to use ssh-agent to avoid typing in my pass-phrase all the time. Running ssh-agent appears to work as usual, and I can confirm that it is running with ps aux. However, when I try to run ssh-add, I get this message:
~ $ ssh-add Could not open a connection to your authentication agent. Does anyone know why this is? Thanks.
# Find an ssh-agent socket, or start a new ssh-agent if test -z "$SSH_AUTH_SOCK" && test -x /usr/bin/ssh-agent; then sock=`netstat -l 2>/dev/null|grep ssh-|cut -c 58-|head -n 1` if test -n "$sock"; then export SSH_AUTH_SOCK=$sock else eval `ssh-agent` fi fi