[Beowulf] Passwordless ssh - strange problem

laytonjb at charter.net laytonjb at charter.net
Fri Sep 14 10:52:08 PDT 2007


Ahhh.. PubkeyAuthentication is commented out. Could that be it?
The finny thing is that other users don't have this problem and
root doesn't have this problem. Only this account. Weird. Extra Weird.
I wonder who I pissed off? (there are many)
Thanks!

Jeff

---- James Bardin <jbardin at bu.edu> wrote: 
> If you've copied your publickey to the server already (`ssh-copy-id` 
> will add it to the authorized_keys file fro you), and the permissions 
> are correct, I can't think of anything else to try without looking at 
> the server.
> 
> The sshd logs should shed some light, and make sure that sshd_config has 
> "PubkeyAuthentication yes"
> 
> -jim
> 
> 
> laytonjb at charter.net wrote:
> > James,
> >
> > I'm not an ssh expert and I don't play one on TV and I can't get the logs to
> > this system where I'm emailing so I will have to type in here.
> >
> > ...
> > debug1: Authentications that can continue: publickey,gssapi-with-mic,password
> > debug1: Next authentication method: publickey
> > debug1: Trying private key: /home/panasas/.ssh/identity
> > debug1: Offering public key: /home/panasas/.ssh/id_rsa
> > debug1: Authentications that can continue: publickey,gssapi-with-mic,password
> > debug1: Trying private key: /home/panasas/.ssh/id_dsa
> > debug1: Next authentication method: password
> > <prompts me for my password>
> >
> > So it looks like it doesn't like my id_rsa key? Should I also create a dsa key
> > combination and add the public to authorized_keys.
> >
> > Thanks!
> >
> > Jeff
> >
> >  Bardin <jbardin at bu.edu> wrote: 
> >   
> >> Hi Jeff,
> >>
> >> Did you specify the key on the command line (-i .ssh/id_rsa), or load it 
> >> into an agent with shh-add?
> >>
> >> You can make sure you're sending the key by increasing the verbosity 
> >> (-v), and check the logs on the clients. sshd will log why it rejected a 
> >> key for authentication.
> >>
> >> The permissions should be 600
> >>
> >> -jim
> >>
> >> laytonjb at charter.net wrote:
> >>     
> >>> Afternoon cluster party goers,
> >>>
> >>> I'm having trouble on a cluster with passwordless ssh. I followed all the
> >>> steps (I think). On the head node, I generated the public and private
> >>> keys and then copied id_rsa.pub to authorized keys. Then I tried
> >>> logging into compute nodes and it asks for my password every time
> >>> (regardless of the number of times I log into the node). I've tried changing
> >>> the permissions on authorized_keys a few times (600, 644) and that
> >>> doesn't seem to change the behavior. Any ideas?
> >>>
> >>> Thanks!
> >>>
> >>> Jeff
> >>>
> >>> _______________________________________________
> >>> Beowulf mailing list, Beowulf at beowulf.org
> >>> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
> >>>
> >>>   
> >>>       
> >> -- 
> >>
> >> /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> >> James Bardin - Systems Analyst / Administrator I
> >> Boston University Department of Electrical and Computer Engineering
> >> 8 Saint Mary's St, Room 305, Boston, MA 02215
> >> Ph:617-358-2785         http://www.bu.edu/ece/it
> >> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
> >>
> >>     
> >
> >
> >   
> 
> -- 
> 
> /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> James Bardin - Systems Analyst / Administrator I
> Boston University Department of Electrical and Computer Engineering
> 8 Saint Mary's St, Room 305, Boston, MA 02215
> Ph:617-358-2785         http://www.bu.edu/ece/it
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
> 




More information about the Beowulf mailing list