Fixed yubikey forwarding
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
7eedb5aa11
commit
ced2cc382f
|
@ -25,10 +25,12 @@ export DOTREPO="$HOME/Git/dotfiles"
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export PAGER="nvimpager -p"
|
export PAGER="nvimpager -p"
|
||||||
|
|
||||||
|
{%@@ if profile == "Mirkwood" @@%}
|
||||||
# use gpg for ssh
|
# use gpg for ssh
|
||||||
export GPG_TTY="$(tty)"
|
export GPG_TTY="$(tty)"
|
||||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||||
gpg-connect-agent updatestartuptty /bye > /dev/null
|
gpg-connect-agent updatestartuptty /bye > /dev/null
|
||||||
|
{%@@ endif @@%}
|
||||||
|
|
||||||
# tehfuk
|
# tehfuk
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
|
|
@ -22,17 +22,11 @@ host rivendell
|
||||||
HostName reekynet.com
|
HostName reekynet.com
|
||||||
port 22
|
port 22
|
||||||
User gimli
|
User gimli
|
||||||
RemoteForward /run/user/1001/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra
|
|
||||||
ForwardAgent yes
|
|
||||||
ExitOnForwardFailure yes
|
|
||||||
|
|
||||||
host mirkwood
|
host mirkwood
|
||||||
HostName reekynet.com
|
HostName reekynet.com
|
||||||
port 8123
|
port 8123
|
||||||
User reekymarko
|
User reekymarko
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra
|
|
||||||
ForwardAgent yes
|
|
||||||
ExitOnForwardFailure yes
|
|
||||||
|
|
||||||
host anitta
|
host anitta
|
||||||
HostName 10.200.200.4
|
HostName 10.200.200.4
|
||||||
|
|
Loading…
Reference in a new issue