ssh连上断开的session

网络不好时,ssh远程连服务器经常断掉,如果原来启动一个带输出的程序,断线重连后,无法继续看下原来的输出。

http://www.gnu.org/software/screen/

screen可以实现断线后继续连上原来的session,当然,ssh后,先启动screen,断线重连后,使用 screen -r即可以继续原来的session.

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>