<?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.bio-info-trainee.com/tag/%e8%bf%9c%e7%a8%8b%e7%99%bb%e5%bd%95/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bio-info-trainee.com</link>
	<description>欢迎去论坛biotrainee.com留言参与讨论，或者关注同名微信公众号biotrainee</description>
	<lastBuildDate>Sat, 28 Jun 2025 14:30:13 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.33</generator>
	<item>
		<title>ubuntu服务器解决方案第五讲-配置ssh供远程登录</title>
		<link>http://www.bio-info-trainee.com/566.html</link>
		<comments>http://www.bio-info-trainee.com/566.html#comments</comments>
		<pubDate>Wed, 01 Apr 2015 02:30:32 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[远程登录]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=566</guid>
		<description><![CDATA[发现自己搞服务器遇到的困难还是蛮多的，所以记录了一下，给菜鸟们指个路。 ubun &#8230; <a href="http://www.bio-info-trainee.com/566.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>发现自己搞服务器遇到的困难还是蛮多的，所以记录了一下，给菜鸟们指个路。<br />
ubuntu对生信菜鸟来说是最好用的linux服务器，没有之一，因为它有apt-get。</p>
<p>同样，这个ssh也非常简单</p>
<p>sudo apt-get install openssh-server</p>
<p>SSH分客户端openssh-client和openssh-server</p>
<p>如果你只是想登陆别的机器的SSH只需要安装openssh-client（ubuntu有默认安装，如果没有则sudo</p>
<p>apt-get install openssh-client），如果要使本机开放SSH服务就需要安装openssh-server</p>
<p>sudo apt-get install openssh-server</p>
<p>然后确认sshserver是否启动了：</p>
<p>ps -e |grep ssh</p>
<p>如果看到sshd那说明ssh-server已经启动了。</p>
<p>如果没有则可以这样启动：sudo /etc/init.d/ssh start 或者 service ssh start</p>
<p>ssh-server配置文件位于/etc/ssh/sshd_config，在这里可以定义SSH的服务端口，默认端口是22，你可以自己定义成其他端口号，如222。</p>
<p>然后重启SSH服务：</p>
<p>sudo</p>
<p>/etc/init.d/ssh stop</p>
<p>sudo /etc/init.d/ssh start</p>
<p>然后使用以下方式登陆SSH：</p>
<p>ssh username@192.168.1.112 username为192.168.1.112 机器上的用户，需要输入密码。</p>
<p>我给七八个虚拟机都配置成功了，但是呢，偏偏别人的一个我始终不能解决，感觉linux里面的学问还是蛮多的</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/566.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
