ssh fixings

This commit is contained in:
Daniel Lundin 2023-06-06 12:18:49 +02:00
parent d9039fa3f6
commit a941385823
5 changed files with 18 additions and 8 deletions
.ssh

View file

@ -1,4 +1,4 @@
ForwardAgent yes
ForwardAgent no
ServerAliveInterval 15
ServerAliveCountMax 3
ControlMaster auto
@ -19,15 +19,10 @@ PKCS11Provider /usr/lib/pkcs11/libtpm2_pkcs11.so
Host 10.1.100.16
Host dln-dev
Hostname 10.1.100.16
IdentityAgent ${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh
ForwardAgent yes
ForwardX11 no
ExitOnForwardFailure yes
Compression yes
LocalForward 127.0.0.1:3000 127.0.0.1:3000
LocalForward 127.0.0.1:3011 127.0.0.1:3011
LocalForward 127.0.0.1:8000 127.0.0.1:8000
LocalForward 127.0.0.1:8080 127.0.0.1:8080
# 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