using keybased ssh authentication

Christian Brandt <[email protected]> Mon, 08 Oct 2007 17:03:03 +0100
Newsgroups gmane.comp.handhelds.opie
Message-ID <[email protected]>
I want to connect from my simpad to my server using ssh with keybased
authentication without password. Using some Ubuntu box instead of my
Simpad works fine.

First I generate a key on my server with
"ssh-keygen -b 512 -t rsa -f small"

I add "small.pub" to my servers "authorized_keys2",
copy "small" to my simpads "/home/root/.ssh/id_rsa" and
copy "small.pub" to my simpads "/home/root/.ssh/id_rsa.pub".
But the key is ignored by ssh on the simpad.

By entering "ssh -i /home/root/.ssh/id_rsa.pub user@server" I get "ssh:
exited: string too long".

Where did I go wrong?

Thanks for your time,

Christian Brandt

_______________________________________________
Open Source User Interface and Apps built on Qt Embedded
Opie mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie