[osol-discuss] SSH with public keys not working (not recognizing the key file)?
Jonathan C. Bailey
jbailey at co.marshall.ia.us
Wed Sep 23 16:31:59 PDT 2009
Everything is on one line.. Actually, the authorized_keys file was copied (working) from an Ubuntu 8.04 system.. Here's an example below. I've removed the actual key text in this case to shorten up the line (but everything *is* on one line)...
command="/backup/validate-rsync ntso" ssh-rsa KEY_TEXT rsyncbackup at ntso
-Jon
----- Original Message -----
From: "Jan Pechanec" <Jan.Pechanec at Sun.COM>
To: "Jonathan C. Bailey" <jbailey at co.marshall.ia.us>
Cc: "opensolaris-discuss" <opensolaris-discuss at opensolaris.org>
Sent: Wednesday, September 23, 2009 4:47:51 PM GMT -05:00 Colombia
Subject: Re: [osol-discuss] SSH with public keys not working (not recognizing the key file)?
On Wed, 23 Sep 2009, Jonathan C. Bailey wrote:
>I seem to be having an issue with SSH from a Linux box to an OpenSolaris 2009.06 box. For some reason, the SSHd in OpenSolaris doesn't like my authorized_keys file. Any idea as to why? It seems to be choking on the command="" line. Any ideas?
>
>
>debug2: key_type_from_name: unknown key type 'command="/usr/local/bin/my_command'
Jon, there is a missing closing double quote. It should be like
this:
command="/usr/local/bin/my_command" ssh-... .....
J.
>debug3: key_read: no key found
>debug2: user_key_allowed: check options: 'command="/usr/local/bin/my_command" ssh-rsa KEY_DATA_HERE'
>
>-Jon
>_______________________________________________
>opensolaris-discuss mailing list
>opensolaris-discuss at opensolaris.org
>
--
Jan Pechanec
More information about the opensolaris-discuss
mailing list