<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.maemo.org/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Public key logins - Revision history</title>
		<link>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-7</generator>
		<lastBuildDate>Wed, 23 Sep 2026 05:43:10 GMT</lastBuildDate>
		<item>
			<title>ossipena at 12:22, 1 November 2009</title>
			<link>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=21469&amp;oldid=prev</link>
			<guid>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=21469&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:22, 1 November 2009&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Users]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Users]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Power users]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-09-23 05:43:10 --&gt;
&lt;/table&gt;</description>
			<pubDate>Sun, 01 Nov 2009 12:22:44 GMT</pubDate>			<dc:creator>ossipena</dc:creator>			<comments>http://wiki.maemo.org/Talk:Public_key_logins</comments>		</item>
		<item>
			<title>generalantilles:&amp;#32;Public key logins for putty, pscp and winscp moved to Public key logins</title>
			<link>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=12749&amp;oldid=prev</link>
			<guid>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=12749&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;a href=&quot;/Public_key_logins_for_putty,_pscp_and_winscp&quot; class=&quot;mw-redirect&quot; title=&quot;Public key logins for putty, pscp and winscp&quot;&gt;Public key logins for putty, pscp and winscp&lt;/a&gt; moved to &lt;a href=&quot;/Public_key_logins&quot; title=&quot;Public key logins&quot;&gt;Public key logins&lt;/a&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:22, 23 April 2009&lt;/td&gt;
		&lt;/tr&gt;
		&lt;!-- diff generator: internal 2026-09-23 05:43:10 --&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 23 Apr 2009 11:22:58 GMT</pubDate>			<dc:creator>generalantilles</dc:creator>			<comments>http://wiki.maemo.org/Talk:Public_key_logins</comments>		</item>
		<item>
			<title>generalantilles:&amp;#32;Cleanup, markup, still needs Linux and OS X entries</title>
			<link>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=12748&amp;oldid=prev</link>
			<guid>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=12748&amp;oldid=prev</guid>
			<description>&lt;p&gt;Cleanup, markup, still needs Linux and OS X entries&lt;/p&gt;
&lt;a href=&quot;http://wiki.maemo.org/index.php?title=Public_key_logins&amp;amp;diff=12748&amp;amp;oldid=6731&quot;&gt;Show changes&lt;/a&gt;</description>
			<pubDate>Thu, 23 Apr 2009 11:22:36 GMT</pubDate>			<dc:creator>generalantilles</dc:creator>			<comments>http://wiki.maemo.org/Talk:Public_key_logins</comments>		</item>
		<item>
			<title>andrewfblack at 16:24, 19 August 2008</title>
			<link>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=6731&amp;oldid=prev</link>
			<guid>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=6731&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:24, 19 August 2008&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 107:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 107:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Users]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Users]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Internet Tablet Talk]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-09-23 05:43:10 --&gt;
&lt;/table&gt;</description>
			<pubDate>Tue, 19 Aug 2008 16:24:22 GMT</pubDate>			<dc:creator>andrewfblack</dc:creator>			<comments>http://wiki.maemo.org/Talk:Public_key_logins</comments>		</item>
		<item>
			<title>andrewfblack:&amp;#32;New page: It is worth setting up your tablet to use public key authentication. The main advantage is that you can login through ssh directly into the user account and keep root access for those situ...</title>
			<link>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=6691&amp;oldid=prev</link>
			<guid>http://wiki.maemo.org/index.php?title=Public_key_logins&amp;diff=6691&amp;oldid=prev</guid>
			<description>&lt;p&gt;New page: It is worth setting up your tablet to use public key authentication. The main advantage is that you can login through ssh directly into the user account and keep root access for those situ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;It is worth setting up your tablet to use public key authentication.&lt;br /&gt;
The main advantage is that you can login through ssh directly into the&lt;br /&gt;
user account and keep root access for those situations which really&lt;br /&gt;
need it. It also makes the process of logging in by ssh somewhat&lt;br /&gt;
simpler as you don't have to type in any passwords.&lt;br /&gt;
&lt;br /&gt;
The following describes how to achieve this for putty, pscp and&lt;br /&gt;
winscp.&lt;br /&gt;
&lt;br /&gt;
First off, if you can, then set your tablet to use a fixed IP address&lt;br /&gt;
on your network. Do this from the 'advanced' part of the connection&lt;br /&gt;
setup in the tablet and choose an address accessible on your network&lt;br /&gt;
but outside the range allocated by DHCP. Then you can edit&lt;br /&gt;
\windows\system32\drivers\etc\hosts to include an entry for your&lt;br /&gt;
tablet. You need a line with ip address and the name. e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        192.168.1.21    n810&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use putty as your Windows SSH client (and pscp to copy files&lt;br /&gt;
to/from the tablet), then follow these instructions to generate keys:&lt;br /&gt;
&lt;br /&gt;
On the windows system run 'puttygen'. Make sure that SSH-2 RSA is&lt;br /&gt;
selected in the radio buttons at the foot of the window then press the&lt;br /&gt;
'generate' button.  Wave the mouse round over the window until the key&lt;br /&gt;
is generated.&lt;br /&gt;
&lt;br /&gt;
In the 'Key comment' box type in something memorable by which to&lt;br /&gt;
identify the key. e.g. I use 'duncan-n810-20080113' (my name-target&lt;br /&gt;
system-date). It doesn't much matter what you use, but if you generate&lt;br /&gt;
multiple keys it can help to distinguish them.&lt;br /&gt;
&lt;br /&gt;
You can enter a passphrase if you want. I think that you don't need&lt;br /&gt;
one for accessing your tablet: if someone wants to get at the data&lt;br /&gt;
that badly they can simply hit you over the head and steal the device.&lt;br /&gt;
So leave the passphrase field blank.&lt;br /&gt;
&lt;br /&gt;
Save the private key using a name such as duncan-n810-20080113.ppk. Don't close&lt;br /&gt;
puttgen yet.&lt;br /&gt;
&lt;br /&gt;
Now run 'putty root@n810' and login using your root password. At the&lt;br /&gt;
command prompt enter the following commands (the mkdir may not be&lt;br /&gt;
needed, if so it will tell you the file alreayd exists):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        Nokia-N810-50-2:~# mkdir /home/user/.ssh&lt;br /&gt;
        Nokia-N810-50-2:~# vi /home/user/.ssh/authorized_keys&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In vi, press 'i' to get into insert mode. Now find the Putty Key&lt;br /&gt;
Generator window, and copy the entire text from the box under 'Public&lt;br /&gt;
key for pasting into OpenSSH authorized_keys file'. It will be quite&lt;br /&gt;
long so be sure you get it all (it starts with 'ssh-' and ends with&lt;br /&gt;
the key comment you entered earlier).&lt;br /&gt;
&lt;br /&gt;
Switch back to the putty session running vi and right click to paste&lt;br /&gt;
the key into the window; it must be all in one line. When it has&lt;br /&gt;
finished pasting, press the escape key then the three keys ':wq'&lt;br /&gt;
&lt;br /&gt;
This should put you back at the command prompt. Try the following&lt;br /&gt;
command just to check. You should see something like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        Nokia-N810-50-2:~# cat /home/user/.ssh/authorized_keys&lt;br /&gt;
        ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIBx5B1fZksY4shwePrPVfy5x02m0RTtcDY6jZRL0aC0lxlV&lt;br /&gt;
        sEHYuk4aPtsFTJb3JOveWrKqtOuJbmnQ831bw4RpCoFJonrTEGP4sFyS2dFALQEqQr9lXzGAKXbPWUij&lt;br /&gt;
        N/eZLcORpvxuCCvzbCNjgKBUxR4uGrGw0HajXkfWQLuaDQ== duncan-n810-20080113&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-update by bluesubaru: in my case I also had to make sure the permissions on this directory are 700 and that it is owned by user &amp;quot;user&amp;quot;. My directory permissions were 770 and I got a &amp;quot;refused key&amp;quot; message until I made this change.-&lt;br /&gt;
&lt;br /&gt;
Check that you got both the start 'ssh-rsa' and the end of this string&lt;br /&gt;
in the file, it is quite easy to not quite copy all of it. Now go back&lt;br /&gt;
to Windows and run putty again specifying the private key file to be&lt;br /&gt;
used for the login:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        C:\&amp;gt;putty -i duncan-n810-20080113.ppk user@n810&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
The output in the putty window should look something like this:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        Using username &amp;quot;user&amp;quot;.&lt;br /&gt;
        Authenticating with public key &amp;quot;duncan-n810-20080113&amp;quot;&lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) Built-in shell (ash)&lt;br /&gt;
        Enter 'help' for a list of built-in commands.&lt;br /&gt;
        &lt;br /&gt;
        ~ $&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Next create a putty saved session. Run putty without any arguments.&lt;br /&gt;
Select category 'Auth', and in the 'Private key for authentication'&lt;br /&gt;
box select the ppk file you created. Then select the top category&lt;br /&gt;
'Session', in the 'host name' field enter 'user@n810' (replace n810&lt;br /&gt;
with the name you gave your tablet in your hosts file) then in the&lt;br /&gt;
'Saved Sessions' box enter 'n810'.&lt;br /&gt;
&lt;br /&gt;
You can make putty use the saved session by running with the '-load'&lt;br /&gt;
option: e.g. putty -load n810&lt;br /&gt;
&lt;br /&gt;
pscp will use the session automatically (provided the hostname and the&lt;br /&gt;
session name are the same):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    pscp myvideo.mp4 n810:/media/mmc1/Video&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
For winscp create a new session filling in the host name (n810), user&lt;br /&gt;
name (user), and private key file (the ppk file you saved).&lt;br /&gt;
&lt;br /&gt;
[[Category:Users]]&lt;/div&gt;</description>
			<pubDate>Mon, 18 Aug 2008 12:50:34 GMT</pubDate>			<dc:creator>andrewfblack</dc:creator>			<comments>http://wiki.maemo.org/Talk:Public_key_logins</comments>		</item>
	</channel>
</rss>