Can not use auth_keys Mac OSX to Linux

Darren Tucker dtucker at zip.com.au
Mon Oct 9 16:37:56 EST 2006


Ev Batey WA6CRE wrote:
> Connect from Mac OSX 10.4.8 / to Recent Linux .. Sys/Sw Versions in .txt

Your attachment appears to have been stripped by the list server.  It 
will do that for any non-text MIME types.

> Refuses to accept keys in auth_keys ..  bad keys "-----BEGIN" ...  
> "-----END"

If the rest of that line says things like "-----BEGIN RSA PRIVATE 
KEY-----" then that's a private key and is not what you need to put into 
authorized_keys.  There should be a corresponding key file with a ".pub" 
extension which is what you need to use.

If there's not then you can extract the public components from the 
private key like so:

$ ssh-keygen -y -f id_rsa >id_rsa.pub

(or simply generate a new set if you haven't deployed this key anywhere).

> Is this open .. not found in site search ...

I'm sorry but I can't make out your meaning here.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



More information about the openssh-unix-dev mailing list