SUMMARY: scp without asking passwd

From: Feng Qiu <feng.qiu_at_bms.com>
Date: Fri May 27 2005 - 14:10:03 EDT
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
Received on Fri May 27 14:10:45 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:47 EST