[PLUG] SSH Key Authentication

Tyler F. Creelan creelan at engr.orst.edu
Wed Aug 14 12:39:52 UTC 2002


Hmm... ssh can be so tricky. So you tried:

ssh -2 gro at odin.pdx.edu

and it doesn't work? Perhaps your authorized_keys file is corrupted; check
that each line corresponds to one key. What's in the .ssh/config or
/etc/ssh/ssh_config files? How does it compare to those on odin?

What happens if you generate a dsa key and use that? An rsa1 key?

What happens if you generate a key on odin, authorize yourself, and try to
connect to odin from odin?

HTH,

Tyler

On 13 Aug 2002, AthlonRob wrote:

> Hey everybody-
>
> I'm trying to use SSH Key authentication (RSA) to log on to my school's
> server without the use of a password.  The keys work well on my LAN, but
> won't work on the school's system.
>
> Warning:  This is a long email with a lot of (likely useless)
> information in it.
>
> I'm running Slackware 8.1 at home on everything except the three Windoze
> machines.
>
> The school is runnins Solaris, SunOS 5.8.
>
> My system is running OpenSSH_3.2.3p1, SSH protocols 1.5/2.0, OpenSSL
> 0x0090604f... and theirs seems to be running 3.4p1.  My actual server is
> running 3.4p1, not to worry.
>
> On my system, I'm logged in as rob.  On their system, I'm logged on as
> gro.
>
> I generated the keypair (which works great on my LAN and between users
> on this box) with the ssh-keygen -t rsa command.  I ftp'd (ascii mode, I
> was sure) id_rsa.pub over to the school's box and moved it to
> ~/.ssh/authorized_keys2 (as I did on local boxen).
>
> I enabled a ton of debug output (-vvv) when I connected to see if I
> could figure out what was wrong.  I couldn't.  Here's the pertinent
> info, I think:
>
> debug1: service_accept: ssh-userauth
> debug1: got SSH2_MSG_SERVICE_ACCEPT
> debug1: authentications that can continue: publickey,password
> debug3: start over, passed a different list publickey,password
> debug3: preferred publickey,keyboard-interactive,password
> debug3: authmethod_lookup publickey
> debug3: remaining preferred: keyboard-interactive,password
> debug3: authmethod_is_enabled publickey
> debug1: next auth method to try is publickey
> debug1: try privkey: /home/rob/.ssh/identity
> debug3: no such identity: /home/rob/.ssh/identity
> debug1: try privkey: /home/rob/.ssh/id_rsa
> debug3: no such identity: /home/rob/.ssh/id_rsa
> debug1: try privkey: /home/rob/.ssh/id_dsa
> debug3: no such identity: /home/rob/.ssh/id_dsa
> debug2: we did not send a packet, disable method
> debug3: authmethod_lookup password
> debug3: remaining preferred: ,password
> debug3: authmethod_is_enabled password
> debug1: next auth method to try is password
> gro at odin.pdx.edu's password:
>
> Any ideas?  I can provide the full debug output if you want it.  It's a
> little longer, though!
>
> I did email consultants at pdx.edu in hopes they could help... but every
> time I've emailed them in the summer in the past, my emails seem to have
> gotten lost.  :-(
>
> --
> Rob
> "Google is your friend"
>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>





More information about the PLUG mailing list