Hi All, ThankQue very much to whoever responded to my mail and no one provided solution. I tried and Summarized below. ------------------------------------------------------------------------------------------------------------------------------------------------------ To by pass the password authentications in-order to run sftp, scp and ssh , you have to generate public key and pass it into slave system #if you use open SSH, ( it will be use protcol 2) 1) # /usr/local/bin/ssh-keygen -t dsa in system A here it will create two key in .ssh folder ( id_dsa and id_dsa.pub ) keys in System A 2) copy this "id_dsa.pub" key into $HOME/.ssh/ folder in to system B 3) rename key id_dsa.pub as "authorized_keys" in the system B 4) Now you can able to run "Unix commands/ scp/sftp " of system B`s from the System A remotely with out password authentication. Login System A:root xxxxxx # ssh systemB df -k #scp local_file systemB:/PATH/ #sftp systemB sftp> get/put .... Enjoy........................................................................ Best Regards, Shanker Durgad, IT Infrastructure & Operations, Chartered Semiconductor Manufacturing Ltd. DID : 63601749 ----- Forwarded by DURGAD Shanker/IT/CHRT/ST Group on 07/10/2003 08:14 PM ----- DURGAD Shanker/IT/CHRT/ST Group 03/10/2003 08:27 AM To: sunmanagers@sunmanagers.org cc: Subject: setting up scp and sftp [This e-mail is confidential and may also be privileged. If you are not the intended recipient, please delete it and notify us immediately; you should not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.] Hello Guru`s, I am using Solaris 8 and server hardened using JASS tool and also using SSH. Here my query is I would like to setup same as rcp and ftp. so I may required to setup 1) scp ( remote copy with passowrd ) and remote copy trough script 2) sftp ( remote copy with passowrd ) and remote copy trough script Can any one help me to setup above things Best Regards and thanks in advance and I will summaries later. SB Durgad [This e-mail is confidential and may also be privileged. If you are not the intended recipient, please delete it and notify us immediately; you should not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.] _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Oct 7 08:20:06 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:20 EST