Hi all,
I recently bought a new Macbook. On my old macbook I had ssh access to my Ubuntu server with no issues. I'd type the ssh command in terminal, it would ask me for my pin and then give access to the server.
I've installed GPGSuite and changed .gnupg/gpg-agent.conf to:
# if on Mac OS X and GPG Suite is installed # otherwise, look for `pinentry' on your system pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pin$ # enables SSH support (ssh-agent) enable-ssh-support # writes environment information to ~/.gpg-agent-info write-env-file use-standard-socket # default cache timeout of 600 seconds default-cache-ttl 600 max-cache-ttl 7200
I've changed .bash_profile to:
if [ -f "${HOME}/.gpg-agent-info" ]; then . "${HOME}/.gpg-agent-info" export GPG_AGENT_INFO export SSH_AUTH_SOCK fi export GPG_TTY=$(tty)
Yet when I try and then connect to the server I get Permission denied (publickey).
Any help gratefully recieved!
|