<?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>ssh keys &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/ssh-keys/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Thu, 25 Nov 2010 01:53:39 +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>Setting Up An SSH Certificate</title>
		<link>https://lifelinux.com/setting-up-an-ssh-certificate/</link>
					<comments>https://lifelinux.com/setting-up-an-ssh-certificate/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 24 Nov 2010 17:11:07 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cryptographic key]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[passphrase]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[scp command]]></category>
		<category><![CDATA[ssh connections]]></category>
		<category><![CDATA[ssh keys]]></category>
		<category><![CDATA[ssh login without password]]></category>
		<category><![CDATA[ssh-add command]]></category>
		<category><![CDATA[ssh-keygen command]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[unix workstation]]></category>
		<category><![CDATA[workstation login]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=144</guid>

					<description><![CDATA[<p>If you want to SSH login without password or automate your task between two servers, you need to setup SSH login via certificate. This topic has detail steps on How to setup an SSH cetificate. Step1: Generating RSA key You login to your server and type the following command: [root@lifelinux~]#ssh-keygen -t rsa Generating public/private rsa [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/setting-up-an-ssh-certificate/">Setting Up An SSH Certificate</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>If you want to <strong>SSH login without password</strong> or automate your task between two servers, you need to setup SSH login via certificate.<span id="more-144"></span></p>
<p>This topic has detail steps on How to setup an SSH cetificate.</p>
<h2>Step1: Generating <a href="http://en.wikipedia.org/wiki/RSA">RSA key</a></h2>
<p>You login to your server and type the following command:</p>
<pre>[root@lifelinux~]#ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
a5:4c:29:3f:92:be:ee:41:03:8d:aa:59:c0:3e:f1:85 root@lifelinux
</pre>
<p>The command ssh-keygen -t rsa initiated the creation of the key pair.<br />
No passphrase your was entered.<br />
After this is completed, two files generated. The private key was saved in .ssh/id_rsa and public key was saved in .ssh/id_rsa.pub<br />
Copy the public key to .ssh/authorized_keys with command:</p>
<pre>[root@lifelinux~]#cat .ssh/id_rsa.pub &gt;&gt; .ssh/authorized_keys
</pre>
<h2>Step2: Edit SSH config</h2>
<pre>[root@lifelinux~]#vi /etc/ssh/sshd_config
</pre>
<p>Make sure that the following settings as shown:</p>
<pre>RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile      .ssh/authorized_keys
PasswordAuthentication no
</pre>
<h2>Step3: Restart SSH service</h2>
<pre>[root@lifelinux~]#/etc/init.d/sshd restart
</pre>
<p>Please note that for Putty you will need to import the generated private key into puttygen and export it into a new private key. This is because Putty does not support the SSH generated private key.</p>
<g:plusone href="https://lifelinux.com/setting-up-an-ssh-certificate/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/setting-up-an-ssh-certificate/">Setting Up An SSH Certificate</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/setting-up-an-ssh-certificate/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
