09-29-2008
remsh + HPUX
Thanks !
It is now working !
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to nohup a job that executes a remote shell on another host but it breaks as soon as I launch it, and I get the following back to my terminal.
+ Stopped (tty input) nohup remsh target_host -l user "ls /proj"
This is the command I'm running.
nohup remsh target_host -l user "ls... (2 Replies)
Discussion started by: tavaresd
2 Replies
2. 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
3. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have encountered a problem when I try to issue a remsh command to a remote system (Solaris).
I have created the .rhost file in the home directory on the remote system and added the hostname and user.
"cat .rhosts
192.168.133.26 root"
But when I issue the command from the... (5 Replies)
Discussion started by: mr_andrew
5 Replies
5. Shell Programming and Scripting
Hi,
I have script.
#!/bin/sh -x
CD=masterservice
remsh 132.196.133.185 -l root './export $CD > test.output'
rcp root@132.196.133.185:test.output
But I receive the following error.
+ remsh 132.196.133.185 -l root ./export $CD > test.output
To make it work, I remove the ' signs.... (1 Reply)
Discussion started by: mr_andrew
1 Replies
6. HP-UX
Hi,
I can remsh from a HPUX to a UNIX however my function keys dont then work as they should !
Any suggestions ? - have tried creating .kshrc
Thanks (2 Replies)
Discussion started by: belfastbelle
2 Replies
7. 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
8. 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
9. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
10. 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
xon(1X) xon(1X)
NAME
xon - start an X program on a remote machine
SYNOPSIS
xon remote-host [-access] [-debug] [-name window-name] [-nols] [-screen screen-no] [-user user-name] [command...]
OPTIONS
Note that the options follow the remote host name (as they do with rlogin). Runs xhost locally to add the remote host to the host access
list in the X server. This will not work unless xhost is given permission to modify the access list. Normally, xon disconnects the remote
process from stdin, stdout and stderr to eliminate the daemon processes which usually connect them across the network. Specifying the
-debug option leaves them connected so that error messages from the remote execution are sent back to the originating host. This specifies
a different application name and window title for the default command (xterm). Normally xon passes the -ls option to the remote xterm;
this option suspends that behaviour. This changes the screen number of the DISPLAY variable passed to the remote command. By default, xon
simply uses rsh/remsh/rcmd to connect to the remote machine using the same user name as on the local machine. This option cause xon to
specify an alternative user name. This will not work unless you have authorization to access the remote account, by placing an appropriate
entry in the remote users file.
DESCRIPTION
The xon program runs the specified command (default xterm -ls) on the remote machine using rsh, remsh, or rcmd. xon passes the DISPLAY,
XAUTHORITY and XUSERFILESEARCHPATH environment variables to the remote command.
When no command is specified, xon runs 'xterm -ls'. It additionally specifies the application name to be 'xterm-remote-host' and the win-
dow title to be 'remote-host'.
xon can only work when the remote host will allow you to log in without a password, by having an entry in the file permitting access.
BUGS
xon can get easily confused when the remote-host, user-name or various environment variable values contain white space.
xon has no way to send the appropriate X authorization information to the remote host.
xon(1X)