On Mon, Oct 20, 2014 at 1:45 PM, Daniel Herrington <[email protected]> wrote:
> This works from an internal Mac to the Mint machine with the same
> id_rsa.pub (I copied it over to the Solaris machine by using scp. Directory
> permissions:
>
> drwxr-xr-x   2 XX XXX    1024 Oct 20 16:34 .
> drwxr-xr-x   5 XX X        1024 Oct 20 14:21 ..
> -rw-r--r--   1 XX XXX     392 Oct 20 15:47 authorized_keys
> -rw-------   1 XX XXX     392 Oct 20 15:35 authorized_keys.old
> -rw-r--r--   1 XX XXX     246 Oct 20 16:35 config
> -rw-r--r--   1 XX XXX     392 Oct 20 15:21 id_rsa
> -rw-r--r--   1 XX XXX     392 Oct 20 16:34 id_rsa.pub
> -rw-r--r--   1 XX XXX     805 Oct 20 15:12 known_hosts

The fact that both id_rsa and id_rsa.pub are the same size looks
pretty suspect to me. I suspect you accidentally copied id_rsa.pub
over id_rsa, which would usually be quite a bit larger. To check,
inspect the contents with a text editor. A private key should start
with "-- BEGIN RSA PRIVATE KEY --" (and a similar "END" one at the
end), and stretches across multiple lines. In contrast, an OpenSSH
public key file is always represented on a single (very long) text
line, that would begin with the word "ssh-rsa", and usually ends with
the username@host, possibly with an identifying name in there too.

Bottom line is that the server is saying that it could read your
public key, but that it doesn't correspond to one that it accepts as
an authorized key. Something went wrong during the copy. Perhaps, try
scping the id_rsa.pub into a safe place on the internal Mac and then
diffing the two to confirm that it really did transfer over correctly.
Also compare the sizes of id_rsa and id_rsa.pub on the Mac. If they
differ, then one of them was probably wrong on your Solaris machine
(given that the Mac is working).

If you have root access on the Mint machine, it might be worthwhile to
temporarily enable debugging on the server side as well, to get much
more verbose information there.

Good luck!
-mjc
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to