Ssh proxy onlinuxssh to keep the connection: www.2cto.com modify/etc/ssh/ssh_config1TCPKeepAliveyes2 # send a packet 60 s, many use 300 on the Internet, and found that this is too long for me 3ServerAliveInterval60ssh automatic login: edit... ssh proxy on linux ssh to keep the connection: www.2cto.com modify/etc/ssh/ssh_config 1 TCPKeepAlive yes2 #60 s to send a data packet, many use 300 on the Internet, I found this is still too long for me 3 ServerAliveInterval 60 ssh automatic login: edit the script ssh, the content is as follows: www.2cto.com 1 #! /Usr/bin/login CT-f2 3 # Start the ssh connection. 3 seconds later, send the password 4 set timeout 35 spawn ssh-qTfnN-D 7070-p 443 YOURNAME @ yourserver6login CT "* assword: * "7 8 send" YOURPASS \ r "9 keep Ct eof execute the script, keep Ct ssh
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.