Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Miguel on March 08, 2001, 01:16:23 AM

Title: SSH and RSA key
Post by: Miguel on March 08, 2001, 01:16:23 AM
When I connect remotely to e-smith server, the server refuses my key. What do I have to do so that the server accepts my key?
The thing writes like this:


Thanks.
Title: Re: SSH and RSA key
Post by: Gordon Rowell on March 08, 2001, 08:31:17 AM
You need to copy the file identity.pub from your local machine
into /root/.ssh/authorized_keys on the server.

Ensure that the permissions of /root/.ssh are restricted to
root-only read/write/search

Gordon
Title: Re: SSH and RSA key
Post by: Miguel on March 08, 2001, 06:16:53 PM
Right, an I have done it. Well, I have to create a file authorized_keys since there is none at home/.ssh nor /etc/ssh. I write my public key there according to this file format (bits, modulus, etc), but then Server complains there is a bad name or format in the file, that the file structure is not what expected. After that, it goes on to passwords.
Miguel