<?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>dport &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="http://lifelinux.com/tag/dport/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Tue, 10 May 2011 08:38:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Install OpenSSH on Centos / RedHat</title>
		<link>http://lifelinux.com/how-to-install-openssh-on-centos-redhat/</link>
					<comments>http://lifelinux.com/how-to-install-openssh-on-centos-redhat/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Tue, 10 May 2011 08:06:12 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/etc/ssh/sshd_config]]></category>
		<category><![CDATA[best security]]></category>
		<category><![CDATA[centos install open ssh client]]></category>
		<category><![CDATA[centos install open ssh server]]></category>
		<category><![CDATA[client applications]]></category>
		<category><![CDATA[dport]]></category>
		<category><![CDATA[firewall 1]]></category>
		<category><![CDATA[firewall settings]]></category>
		<category><![CDATA[linux operating systems]]></category>
		<category><![CDATA[port 22]]></category>
		<category><![CDATA[security practices]]></category>
		<category><![CDATA[server configuration]]></category>
		<category><![CDATA[server daemon]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[yum command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=365</guid>

					<description><![CDATA[<p>What is OpenSSH ? OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-install-openssh-on-centos-redhat/">How To Install OpenSSH on Centos / RedHat</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h3>What is OpenSSH ?</h3>
<p><strong>OpenSSH</strong> is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. <strong>OpenSSH</strong> encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Additionally, <strong>OpenSSH</strong> provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.<span id="more-365"></span></p>
<h3>Install OpenSSH under CentOS Linux</h3>
<p>To install the server and client type the following command:</p>
<pre>[root@lifelinux ~]# yum install openssh-server</pre>
<p>Start the service:</p>
<pre>[root@lifelinux ~]# service sshd start</pre>
<p>Set sshd service to automatically start at boot time, type the following command</p>
<pre>[root@lifelinux ~]# chkconfig sshd on</pre>
<p>Check &amp; Make sure port 22 is opened:</p>
<pre>[root@lifelinux ~]# netstat -tulpn | grep :22</pre>
<p>Sample outputs:</p>
<pre>tcp        0      0 :::22                       :::*                        LISTEN      1703/sshd</pre>
<h3>OpenSSH Server Configuration</h3>
<p>Now you need to edit the /etc/ssh/sshd_config file using vi or any other editor and you need to change the following Directives or add the following directives for OpenSSH server configuration these are only some of basic directives if you want to know available directives check <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&amp;sektion=5">here</a><br />
To change SSH listening port, example change port to 2222</p>
<pre>Port 2222</pre>
<p>To disable root logins, edit or add as follows:</p>
<pre>PermitRootLogin no</pre>
<p>Allow only SSH protocol 2</p>
<pre>Protocol 2</pre>
<p>Allow only user1 and user2 over SSH:</p>
<pre>AllowUsers user1 user2</pre>
<h3>Firewall Settings</h3>
<p>Open /etc/sysconfig/iptables file, enter:</p>
<pre>[root@lifelinux ~]# vi /etc/sysconfig/iptables</pre>
<p>Add the following line</p>
<pre>-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT</pre>
<p>Save and close the file. Restart the firewall:</p>
<pre>[root@lifelinux ~]# /etc/init.d/iptables restart</pre>
<g:plusone href="http://lifelinux.com/how-to-install-openssh-on-centos-redhat/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-install-openssh-on-centos-redhat/">How To Install OpenSSH on Centos / RedHat</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-install-openssh-on-centos-redhat/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
