using keybased ssh authentication

From: Christian Brandt <brandtc_at_psi5.com>
Date: Mon, 08 Oct 2007 17:03:03 +0100

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_at_server" I get "ssh:
exited: string too long".

Where did I go wrong?

Thanks for your time,

Christian Brandt
Received on Mon Oct 08 2007 - 11:19:18 EDT

This archive was generated by hypermail 2.2.0 : Mon Oct 08 2007 - 11:19:42 EDT