Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    passwordless scp not working

    Just for starters: I'm a true linux noob, so please be kind and thorough in your answers.

    I have two computers running (different versions of) Scientific Linux. I wanted to set up passwordless scp between them and followed one of the many guides I found on google.
    ssh-keygen -t rsa
    scp ~/.ssh/ usernameAThostname:/home/username/.ssh/
    cat >> ~/.ssh/authorized_keys
    chmod 600 ~/.ssh/authorized_keys
    Now, it works just fine in one of the directions but in the other I constantly get prompted for a password. I've tried googling for answers, but the same steps as in the guide keep surfacing.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Scp is a version of ssh. Look at your /etc/ssh/sshd_config file on the system that is requiring the password. Compare that to the other. You will probably find that there is a configuration issue you missed.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just to check, you have followed the SSH key setup on both systems?

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts