Yubico Forum
https://forum.yubico.com/

new macbook ssh no longer works
https://forum.yubico.com/viewtopic.php?f=23&t=2720
Page 1 of 1

Author:  jabajools [ Mon Sep 25, 2017 11:28 pm ]
Post subject:  new macbook ssh no longer works

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!

Author:  jabajools [ Wed Oct 04, 2017 10:58 pm ]
Post subject:  Re: new macbook ssh no longer works

Anyone?

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/