Dear Ashok

Firstly its not clear ,y u r using a script to create username password when 
binaries are already there.U can pass the commands as an argument to ssh and 
invoke the commands on the remote server 
Anyways....
Try dumping the uname and psswd to be created to a file and scp or rsync the 
file to the other server.Then u may invoke the script on the remote server to 
fetch values from that file which is local on that server.

Hope that works.Besides post your script.That may help suggesting solutions.

Regards
trishito
==================================================




________________________________
From: ashok abraham <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [email protected]
Sent: Wednesday, 26 November, 2008 5:31:12 PM
Subject: [Linux_Mantra] sssh scripting issues


dear all

i have 2 linux servers one is a mail server & other is a squid proxy server

on my mail server i have  written a script for adding users and i want the same 
username & password to be created on  the other proxy server machine 
so i had created another script on proxy server and in my main script  i call 
the other script on the remote machine  but the value of username & password 
are not getting  passed to the remote server
even i tried the export variable but is also not doing the same

any help in the same will be highly appreciated

regards

ashok abraham

Add more friends to your messenger and enjoy! Go to http://messenger. 
yahoo.com/ invite/

    


      Share files, take polls, and make new friends - all under one roof. Go to 
http://in.promos.yahoo.com/groups/

[Non-text portions of this message have been removed]

Reply via email to