to tell you the truth, the disconnection can be solved very easily. you need to modify the ssh setting. this is how-to
vim /etc/ssh/ssh_config
you maybe use sudo to get the right to modify it.
than, just insert the following two lines into the file.
TCPKeepAlive yes
ServerAliveInterval 60
in fact, the TCPKeepAlive yes is not essential, because the value of TCPKeepAlive is yes by default.
if you want to know the meaning of two lines you insert, you can use this command in terminal
man ssh_config
you can see this:
ServerAliveInterval
Sets a timeout interval in seconds after which if no data has
been received from the server, ssh(1) will send a message through
the encrypted channel to request a response from the server. The
default is 0, indicating that these messages will not be sent to
the server. This option applies to protocol version 2 only.
TCPKeepAlive
Specifies whether the system should send TCP keepalive messages
to the other side. If they are sent, death of the connection or
crash of one of the machines will be properly noticed. However,
this means that connections will die if the route is down tempo‐
rarily, and some people find it annoying.
The default is “yes” (to send TCP keepalive messages), and the
client will notice if the network goes down or the remote host
dies. This is important in scripts, and many users want it too.
To disable TCP keepalive messages, the value should be set to
“no”.
i hope this will help you to understand ssh_config much better.
this blog is posted on To be kind like water |Blog ,welcome!
To be kind like water |Blog
Monday, May 23, 2011
Tuesday, July 6, 2010
find a chance to do the part-time job
this days, i always wondering on the Internet, and the result is i find the chance to earn some money this summer. i told them i could only can do just 1 month, and she said to me to come and have an interview.
A ZA A ZA Fighting!!!!
this blog is posted on To be kind like water |Blog ,welcome!
A ZA A ZA Fighting!!!!
this blog is posted on To be kind like water |Blog ,welcome!
Monday, July 5, 2010
Never say goodbyes to AHUT
Time flies, like arrow...
we can't go back to the past, even though i was so eager to...
when i saw the video on Tudou today, i feel it so clearly, and I'm afraid i will forget the time, I'm afraid the memory will be faint, I'm afraid the friendship between us. i miss them, i miss everybody...
the day before yesterday, we are stranges to each other.
yesterday, we came to AHUT and became classmates and friends.
today, we are good friends to each other, but we graduated from this place.
the Separation is coming, we couldn't do anything except watch them away...
we will be together some day in the future, we all hope that day.
we can't go back to the past, even though i was so eager to...
when i saw the video on Tudou today, i feel it so clearly, and I'm afraid i will forget the time, I'm afraid the memory will be faint, I'm afraid the friendship between us. i miss them, i miss everybody...
the day before yesterday, we are stranges to each other.
yesterday, we came to AHUT and became classmates and friends.
today, we are good friends to each other, but we graduated from this place.
the Separation is coming, we couldn't do anything except watch them away...
we will be together some day in the future, we all hope that day.
this is a bad article, orz...
if you want to see more about AHUT, you can watch this video on Tudou.com.
ps: you may can't see anything if you're in USA now, because i think tudou just block the visitors from overseas, just guessing, maybe i'm wrong, lol...
this blog is posted on To be kind like water |Blog ,welcome!
Subscribe to:
Posts (Atom)