Skip to content

Commit fbae902

Browse files
committed
update: proxycommand for in ssh-config
Signed-off-by: Ali Mehraji <a.mehraji75@gmail.com>
1 parent 2321c36 commit fbae902

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

home/.ssh/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Host vm-kvm-rocky-9
2525
HOST vm-vps-*
2626
User ali
2727
# --- Use Proxy, install connect-proxy
28-
ProxyCommand connect-proxy --socks-proxy-server 127.0.0.1:10808 %h %p
28+
ProxyCommand nc --proxy-type socks5 --proxy 127.0.0.1:10808 %h %p
2929
ServerAliveInterval 10
3030
Port 2233
3131
# --- Jump Server

0 commit comments

Comments
 (0)