Re: Q: pub key login still asks for password??

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 03/09/04

  • Next message: Ever Confused: "Looking for ssh client with a GUI interface similar to cute-ftp"
    Date: Tue, 9 Mar 2004 08:21:11 +0000 (UTC)
    
    

    In article <404CBE77.4020708@ll.mit.edu>,
    Jason M. LaPenta <lapenta@ll.mit.edu> wrote:
    >I'm trying to setup ssh and scp so I can scp/ssh to another linux box
    >without having to type in a password every time. I've setup sshd and
    >used ssh-keygen as specified in the man pages, including copying the
    >identity.pub file to .ssh/authorized_keys onto the computer I want to
    >log into. I am still prompted for a password when trying to use scp and
    >ssh. Any ideas why I'm still being propmted for a password?

    The reason why the key was refused will be in the server side debugging:
    http://www.snailbook.com/faq/general-debugging.auto.html

    A quick guess is file and/or directory permissions, try
    $ chmod 700 $HOME/.ssh
    $ chmod 600 $HOME/.ssh/authorized_keys
    and possibly:
    $ chmod go-w $HOME

    -- 
    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.
    

  • Next message: Ever Confused: "Looking for ssh client with a GUI interface similar to cute-ftp"

    Relevant Pages

    • Q: pub key login still asks for password??
      ... I'm trying to setup ssh and scp so I can scp/ssh to another linux box ...
      (comp.security.ssh)
    • ssh / scp for Solaris 8
      ... I'd like to setup ssh / scp on Solaris 8. ... (It's setup by default on my other nodes running Solaris 10).. ... Does anybody know the package # or patch # and where I can download it from? ...
      (comp.sys.sun.admin)