SUMMARY: scp without asking passwd

From: Feng Qiu (feng.qiu_at_bms.com)
Date: 05/27/05

  • Next message: Jesus Bernardo Ruiz Flores: "Problem with Sun Storedge A1000, Sun Fire 280R"
    Date: Fri, 27 May 2005 14:10:03 -0400
    To: sunmanagers@sunmanagers.org
    
    

    Thank you all. It is definitely too many to list individually!

    1. use "ssh-keygen -t dsa" to generate the id_dsa and id_dsa.pub file in
    ~/.ssh/
    2. scp id_dsa.pub to target computer's home directory
    3. chmod 0600 .ssh/id_dsa.pub
    4. login target computer, run following command:
            cat id_dsa.pub >> .ssh/authorized_keys

    in my case, it wouldn't work without step 3.

    Thanks again.

    Feng

    Feng Qiu wrote:

    > Hello, all,
    > I am trying to use scp in a script to cp files between two Blades with
    > Solaris 8. How to set public key(?) or something to avoid prompting
    > for passwd?
    > Thanks.
    > Feng
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Jesus Bernardo Ruiz Flores: "Problem with Sun Storedge A1000, Sun Fire 280R"