<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; 远程连接</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/%E8%BF%9C%E7%A8%8B%E8%BF%9E%E6%8E%A5/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下SSH远程连接断开后让程序继续运行解决办法</title>
		<link>https://www.osyunwei.com/archives/4218.html</link>
		<comments>https://www.osyunwei.com/archives/4218.html#comments</comments>
		<pubDate>Sat, 09 Jun 2012 17:18:13 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[远程连接]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=4218</guid>
		<description><![CDATA[碰到问题： 通过SSH远程登录到Linux系统，要在/home目录下面下载一个mysql-5.5.25.tar.gz的安装包 在下载的过程中，不小心把SSH远程连接关闭了，这个时候下载也会中断 必须重新登录到系统，再次手动执行命令，才能继续下载之前未下载完成的文件。 有没有办法在SSH远程连接被断开或者关闭的时候，系统里面的下载程序还能继续运行？ 再次登录到系统之后，还能够看都上次正在下载的文件？ 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 答案：有办法 解决办法：（以CentOS系统为例） 1、安装screen命令 yum  install screen   #安装 2、screen -S  mysql5.5   #创建screen会话，自定义screen虚拟终端的名称，mysql5.5可以改为你想要的名称 3、进入/home目录，使用wget命令下载mysql-5.5.25.tar.gz cd  /home wget http://mysql.mirror.kangaroot.net/Downloads/MySQL-5.5/mysql-5.5.25.tar.gz   #下载（需要先安装wget下下载命令） 如下图所示系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 4、测试 关闭SSH远程连接窗口，然后重新登录 screen -r mysql5.5 #查看之前的下载会话虚拟终端 可以看到下载还在继续进行，目的达到！ 扩展阅读： screen -ls  #查看所有screen会话 按键盘上面的Ctrl+a，然后再按d     #保存当前的screen会话 exit   #退出screen screen -wipe  mysql5.5   #删除会话 &#160;&#160;&#160;&#160;&#160;» 本文链接：https://www.osyunwei.com/archives/4218.html» 订阅本站：https://www.osyunwei.com/feed» 转载请注明来源：系统运维 » Linux下SSH远程连接断开后让程序继续运行解决办法<p><a rel="bookmark" href="https://www.osyunwei.com/archives/4218.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/4218.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
