Posterous
Czar is using Posterous to post everything online. Shouldn't you?
Smallworlds_thumb
 

Czarism.com

The Posterous of @Czarphanguye

« Back to blog

How to root@ssh using authorized_keys on a #PalmPre

This brief tutorial is how to set-up passwordless root access from your desktop (Linux) to your dropbear server running on the palmpre.  

On Desktop

ssh-keygen -t dsa
cat ~/.ssh/id_dsa.pub

On WebOS

First, you need to ssh -p222 me@myphonesip.

sudo su
mount -o remount,rw /
passwd
cd
mkdir .ssh
chmod 0700 .ssh
touch .ssh/authorized_hosts
chmod 0600 .ssh/authorized_hosts
vi .ssh/authorized_hosts

Here you will paste your DSA/DSS (rsa doesn't seem to work w/ dropbear) key that you created from your desktop (I.E.  `~/.ssh/id_dsa.pub`)

Quit and save `:wq`

Might need to reboot the WebOS, idk.  Dropbear is odd...  

Thanks to SJPeterman & egaudet via irc.freenode.org #webos-internals

~fin

edit:  fixed title from authorized_hosts to authorized_keys
edit 2:  Added passwd as a step.  Root will not allow you to log-in until you set one.  

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    twitter