Local port: 1080
Server IP: 12.34.56.78
~/.ssh/config 加入
Host *
ProxyCommand connect-proxy -S 127.0.0.1:1080 %h %p
若要 ssh 到 Server IP,改用 ssh 127.0.0.1
從新版 SSH 8.x 連到舊版 6.x SSH server 若出現 Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss ...
沒有留言:
張貼留言