ssh settings

This commit is contained in:
Daniel Lundin 2020-11-19 14:58:18 +01:00
parent 49ef764497
commit 171024343a
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC

View file

@ -1,9 +1,16 @@
ForwardAgent yes
Host 192.168.*
Host 10.*
StrictHostKeyChecking no
Host devel
Hostname 10.1.100.16
IdentityAgent /run/user/1000/gnupg/S.gpg-agent.ssh
ForwardAgent yes
ForwardX11 yes
ExitOnForwardFailure yes
Compression yes
RequestTty yes
LocalForward 127.0.0.1:1080 127.0.0.1:1080
LocalForward 127.0.0.1:8000 127.0.0.1:8000
@ -17,6 +24,3 @@ LocalForward 127.0.0.1:9876 127.0.0.1:9876
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
RemoteCommand /usr/bin/env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/bin/tmux new-session -A -D -s 0
Host 10.*
StrictHostKeyChecking no