From ec86eb8ca3a2d0c334dc5b43f326d8330e3a6805 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 12 Apr 2022 23:13:55 +0200 Subject: [PATCH] ssh: adjust forwarding --- .ssh/config | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.ssh/config b/.ssh/config index 635be60..906fc33 100644 --- a/.ssh/config +++ b/.ssh/config @@ -14,19 +14,15 @@ PKCS11Provider /usr/lib/pkcs11/libtpm2_pkcs11.so Host dln-dev Hostname 10.1.100.16 -IdentityAgent /run/user/1000/gnupg/S.gpg-agent.ssh +IdentityAgent ${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh ForwardAgent yes -ForwardX11 yes +ForwardX11 no ExitOnForwardFailure yes Compression yes LocalForward 127.0.0.1:3000 127.0.0.1:3000 LocalForward 127.0.0.1:8000 127.0.0.1:8000 LocalForward 127.0.0.1:8080 127.0.0.1:8080 -LocalForward 127.0.0.1:8081 127.0.0.1:8081 -LocalForward 127.0.0.1:8200 127.0.0.1:8200 -LocalForward 127.0.0.1:8250 127.0.0.1:8250 -LocalForward 127.0.0.1:8888 127.0.0.1:8888 -# RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra -RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/1000/gnupg/S.gpg-agent.ssh -# RemoteForward /run/user/1000/gnupg/S.scdaemon /run/user/1000/gnupg/S.scdaemon +# RemoteForward ${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent ${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.extra +RemoteForward ${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh ${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh +# RemoteForward ${XDG_RUNTIME_DIR}/gnupg/S.scdaemon ${XDG_RUNTIME_DIR}/gnupg/S.scdaemon RemoteForward ${XDG_RUNTIME_DIR}/bus-notification ${XDG_RUNTIME_DIR}/bus-notification