ssh: adjust forwarding

This commit is contained in:
Daniel Lundin 2022-04-12 23:13:55 +02:00
parent 578e9462a1
commit ec86eb8ca3

View file

@ -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