08-01-2008
do you face any issues using ssh? just wanna check this out from you
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Newbie here,
I want to add a line to our 3D rendering scripts that will
send an email to the animators once a scene has finished rendering. The 3D scripts are on the client hosts and the sendmail setup on the server.
I tried using a rsh line in the script as follows
rsh root@blah echo... (2 Replies)
Discussion started by: flamethrower
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm performing a data migration from an Ingres db to an Oracle db. The ingres database lives on a unix host running "UNIX(r) System V Release 4.0 (SunOS 5.5.1) ", while the Oracle database lives on another unix host running "SunOS 5.8".
Part of the migration is to remotely run Oracle's... (1 Reply)
Discussion started by: strpeski
1 Replies
3. UNIX for Dummies Questions & Answers
Hello Everybody,
I have a set of four machines. When i try to rsh between them i get errors like 'no route to host' and 'conection refused'. What do i need to do to rectify this problem..... i can ssh between the nodes ok but only if i supply a password.
Here is the output from my screen:
... (1 Reply)
Discussion started by: rkap
1 Replies
4. UNIX for Dummies Questions & Answers
I am using rsh and other R commands to login to a machine.
On that target machine, I set up $HOME/.rhosts file with the host/password.
I also setup /etc/hosts.equiv fiel with IP address/username.
I also made sure that rsh was enabled and that no firewall was running.
The /etc/hosts on... (7 Replies)
Discussion started by: etc
7 Replies
5. Shell Programming and Scripting
Hello,
I am trying to determine 2 things on a remote host.
1. Is file a directory or file
2. Does the file or directory exist
Not too familiar with "find" command although I believe that may be a possible way. I have tried:
remsh "$HOST" test -e /home/test.script && echo "yes"
This... (3 Replies)
Discussion started by: bestbuyernc
3 Replies
6. UNIX for Dummies Questions & Answers
Hi, I am a beginner and i want to seek help
I want to use the rsh command.
Is there a possibility that i can do it without the system password
I am planning to make a csh script that could browse/copy files from diferent workstations.
thank you.... (5 Replies)
Discussion started by: wramonzon
5 Replies
7. Linux
we want to execute remote script via rsh (we just only should use rsh except others),but rsh command can not set environment variable for specify user, then scripts can not be executed correctly,anyone knows how to fix this problem? thanks. (8 Replies)
Discussion started by: Frank2004
8 Replies
8. AIX
Hi,
I have a server which I've configured to allow an rsh trust from a csm server. However, of the 3 vlans on the target server, I can only rsh to one of them without being prompted for the password.
On lpar1
$ ifconfig -a
en2:... (1 Reply)
Discussion started by: m223464
1 Replies
9. Shell Programming and Scripting
Hi
Does anybody know how to to return the exit code of a remote
command when using rsh?
I know that "rsh" has no built-in ability for that.
The echo $? is showing the results of the rsh command. Not the
remotely executed command.
I am trying to get the return code of psef command from... (4 Replies)
Discussion started by: aoussenko
4 Replies
10. Shell Programming and Scripting
Hello,
I am trying to run a remote file (y.ksh) using rsh.
In this action i want to use an environment variable TOOL=/home/macc1
i am running the rsh from profile macc on server1.
rsh server2 -l macc1 "$TOOL/y.ksh"
but i can see that the executable command = /home/macc/y.ksh and not... (1 Reply)
Discussion started by: LiorAmitai
1 Replies
RSH(1) General Commands Manual RSH(1)
NAME
rsh - remote shell
SYNOPSIS
rsh [-n] [-l username] host [command]
host [-n] [-l username] [command]
DESCRIPTION
Rsh connects to the specified host, and executes the specified command. Rsh copies its standard input to the remote command, the standard
output of the remote command to its standard output, and the standard error of the remote command to its standard error. Interrupt, quit
and terminate signals are propagated to the remote command; rsh normally terminates when the remote command does.
The remote username used is the same as your local username, unless you specify a different remote name with the -l option. This remote
name must be equivalent (in the sense of rlogin(1)) to the originating account; no provision is made for specifying a password with a com-
mand.
If you omit command, then instead of executing a single command, you will be logged in on the remote host using rlogin(1).
Shell metacharacters which are not quoted are interpreted on local machine, while quoted metacharacters are interpreted on the remote
machine. Thus the command
rsh otherhost cat remotefile >> localfile
appends the remote file remotefile to the localfile localfile, while
rsh otherhost cat remotefile ">>" otherremotefile
appends remotefile to otherremotefile.
OPTIONS
-l username
Specify the remote user name.
-n Connect standard input of the remote command to /dev/null. Do this if rsh should not inadvertently read from standard input.
SEE ALSO
rcp(1), rlogin(1), rhosts(5).
BUGS
You cannot run an interactive command (like rogue(6) or vi(1)); use rlogin(1).
4.2 Berkeley Distribution April 29, 1985 RSH(1)