用XSheel 管理CentOS,在服务器上运行了一个程序,没结束就关掉XShell了

mingle lu 2014-12-20 09:29:34
用XSheel 管理CentOS,在服务器上运行了一个程序,没结束就关掉XShell了,结果我再次用XShell登录到服务器的时候新开了一个连接,我现在想连到我之前的连接去,应该怎么做?
...全文
472 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
ljc007 2014-12-22
  • 打赏
  • 举报
回复
应该使用 screen 命令,参考: http://www.ibm.com/developerworks/cn/linux/l-cn-screen/
  • 打赏
  • 举报
回复
generally speaking, if the connection is dropped, there is no easy way to resume the session unless there is a third party program that maintain the states of established ssh sessions. One of the most famous ones is "screen". Xshell sounds like an alternative to putty. I don't think it has the resume feature since it doesn't reside on the server side...

19,611

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧