The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-08-2008
jagnikam jagnikam is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 56
SSH-Keygen script

Hello friends,
I wanna to make new script which work as i defined below

(1) it connect (using ssh) to remote server
(2) remote server having passphrase key with password
(3) Generate new passphrase on local machine with random 8 character password.
(4) It will atomatically uploaded to the remote server & mail send to specified users with new password.

I need some help from you guys to complete this script. now i am stucked at the point of providing password while generating script. can anybody tell me how can i provide password to the script ........................???????????