10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I am on HP-UX.
Problem is that my remote script behaves different depending on execution method.
Method1 (Remote execution):
remsh remoteserver /home/myscript.sh
Method2 (Local execution):
remoteserver :/home#sh myscript.sh
In method 2, I can succesfully set timestamp with... (6 Replies)
Discussion started by: mrcrowley
6 Replies
2. Shell Programming and Scripting
hi all ,
i am using remsh utility from a host to another , i did create an .rhosts in it the name of the second server and the user to use in it , then i changed permission to 600 .. it is still asking for password and i am using this for no password between 2 trusted servers we got also this... (3 Replies)
Discussion started by: semaan
3 Replies
3. UNIX for Advanced & Expert Users
Hi
Can any 1 tell me how to use REMSH command with example
actually i wanted to run the following command on different severs thru script "df -k .| tail -1 | tr -s ' ' ' ' | cut -d ' ' -f5" :)
please reply ASAP.:) (3 Replies)
Discussion started by: maddy_07
3 Replies
4. Shell Programming and Scripting
Hi All,
Im using remsh to execute shell script on remote server. And this script gets called from another AIX server.
My code is:
remsh $rHost -l $rUser -n "export JAVA_HOME=/usr/java6_64_SR7; export ORACLE_HOME=/oravl01/oracle/11.1.0.7;
export... (3 Replies)
Discussion started by: AB10
3 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I want to know all the options that are used for command remsh.
And also the prerequisites like entries in .rhosts file.
Can anybody share the link or document?
thanks. (1 Reply)
Discussion started by: AB10
1 Replies
6. UNIX for Advanced & Expert Users
Well I didn't think this would be so complicated when I started it but, well, here we are. :(
I'm trying to REMSH to other servers and run a grep command. Now this works just fine until the item I'm grepping for has whitespaces in it and then UNIX gets stubborn.
Normally one would grep for a... (1 Reply)
Discussion started by: Korn0474
1 Replies
7. Shell Programming and Scripting
hi ,
Any idea how to use remsh to duplicate whatsoever ( / ) from host1 to host2 across network with root?
Regards, (0 Replies)
Discussion started by: rauphelhunter
0 Replies
8. UNIX for Advanced & Expert Users
Hi All,
We have 2 unix boxes HP UX. From Box1 we need to run a script on Box2 using remsh. The job at Box2 exits with status 0 on successful completion & 1 if fails.
But even if the scrips fails (exits with return status 1) at Box2, the $? get the value 0.
script at Box2 : remote_script.sh... (2 Replies)
Discussion started by: sabyasm
2 Replies
9. UNIX for Dummies Questions & Answers
i m try to do remsh i need to know what are the step to define the user and password i try .rhosts it give me
operator:/export/home/operator>remsh billmed ps -ef
permission denied
just for testing (3 Replies)
Discussion started by: kazanoova2
3 Replies
10. UNIX for Dummies Questions & Answers
Is there a way to execute more than one command on a remote server using remsh? (2 Replies)
Discussion started by: aaareyes
2 Replies