<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SSH on Arshad Siddiqui</title><link>https://arshadhs.github.io/tags/ssh/</link><description>Recent content in SSH on Arshad Siddiqui</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 08 Nov 2014 14:08:00 +0000</lastBuildDate><atom:link href="https://arshadhs.github.io/tags/ssh/index.xml" rel="self" type="application/rss+xml"/><item><title>SSH</title><link>https://arshadhs.github.io/docs/technology/sshwithraspberrypi/</link><pubDate>Sat, 08 Nov 2014 14:08:00 +0000</pubDate><guid>https://arshadhs.github.io/docs/technology/sshwithraspberrypi/</guid><description>&lt;h1 id="ssh-login-to-raspberry-pi-without-password">
 SSH login to Raspberry Pi without password
 
 &lt;a class="anchor" href="#ssh-login-to-raspberry-pi-without-password">#&lt;/a>
 
&lt;/h1>
&lt;p>Execute following 3 commands from PC/Laptop from which you want to login to Raspberry Pi without password.&lt;/p>
&lt;pre tabindex="0">&lt;code>laptop:~$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/laptop/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/laptop/.ssh/id_rsa.
Your public key has been saved in /home/laptop/.ssh/id_rsa.pub.
The key fingerprint is:
6f:72:4e:e5:f3:81:d4:27:9d:27:06:f0:ce:f1:75:7d laptop
The key&amp;#39;s randomart image is:
+--[ RSA 2048]----+
| . |
| .|
| + A|
| o = o+|
| S = *.+|
| o + o +.|
| . = + . |
| * o . |
| . . |
+-----------------+

NUsing ssh create a directory ~/.ssh as user pi on Raspberry -

laptop:~$ ssh pi@192.168.1.68 mkdir -p .sshpi@192.168.1.68&amp;#39;s password:
&lt;/code>&lt;/pre>&lt;p>Append public key to pi@Raspberry:.ssh/authorized_keys and enter pi&amp;rsquo;s password one last time:&lt;/p></description></item></channel></rss>