-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathssh.config
More file actions
21 lines (20 loc) · 1.02 KB
/
ssh.config
File metadata and controls
21 lines (20 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Host name
Hostname hostname
User user
Port port
ProxyCommand nc -X connect -x 127.0.0.1:port %h %p
# or with auth via ncat(socks5 only)
# ProxyCommand ncat --proxy 127.0.0.1:port --proxy-type socks5 --proxy-auth "user:password" %h %p
ServerAliveInterval 10
IdentityFile ~/.ssh/key
IdentitiesOnly yes
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com
KexAlgorithms sntrup761x25519-sha512@openssh.com
HostKeyAlgorithms ssh-ed25519
PubkeyAcceptedAlgorithms ssh-ed25519
SetEnv TERM=xterm-256color
Host github.com
IdentityFile ~/.ssh/key
ProxyCommand nc -X connect -x 127.0.0.1:port %h %p
# or with auth via ncat(socks5 only)
# ProxyCommand ncat --proxy 127.0.0.1:port --proxy-type socks5 --proxy-auth "user:password" %h %p