SUMMARY: scp without asking passwd
From: Feng Qiu (feng.qiu_at_bms.com)
Date: 05/27/05
- Previous message: Polachak, Jason M CTR NAVSEA: "SUMMARY: How do you know which version you are running?"
- In reply to: Feng Qiu: "scp without asking passwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Polachak, Jason M CTR NAVSEA: "SUMMARY: How do you know which version you are running?"
- In reply to: Feng Qiu: "scp without asking passwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]