Hello Andreas,

Tuesday, February 10, 2004, 8:24:29 PM, you wrote:

AJ> Hello

AJ> Paul Maunders (<[EMAIL PROTECTED]>) wrote:

>> I've just installed debian for the first time on my xbox. I'm fairly
>> familiar with redhat, but this is a first for using debian.
>> 
>> I'm trying to get SSH to allow access via public key. I've added my
>> public key to /root/.ssh/authorized_keys, I also set the following
>> lines in my sshd_config file:
>> 
>> RSAAuthentication yes
>> PubkeyAuthentication yes
>> AuthorizedKeysFile      %h/.ssh/authorized_keys
>> 
>> I think restarted (i think?) sshd by running:
>> 
>> /etc/init.d/ssh reload
>> 
>> However when I try to log in, it still asks for the root password
>> rather than letting me in through my key.

AJ> Make sure the authorized_keys file is only readable by the owner.

AJ> Run ssh -v and post the relevant output here.

AJ> Is it possible that ssh does not ask for the root passwort, but for the
AJ> key password?

AJ> best regards
AJ>         Andreas Janssen

AJ> -- 
AJ> Andreas Janssen
AJ> [EMAIL PROTECTED]
AJ> PGP-Key-ID: 0xDC801674
AJ> Registered Linux User #267976

Thanks for your reply... I found the problem in the end, it turns out
I had pasted my key in wrong, it was missing 1 character from the
beginning! doh!


-- 
Best regards,
 Paul                            mailto:[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to