Questions tagged [rsh]

rsh is a shell program which is used to connect to a remote host and execute one specified command.

68 questions
1
vote
1 answer

TCP establishment delays for 3 seconds

Most of time, my rsh cycle is general OK, we could get following logs from rshd: Aug 19 04:36:34 shmm500 authpriv.info in.rshd[21343]: connect from 172.17.0.40 (172.17.0.40) Aug 19 04:36:34 shmm500 auth.info rshd[21344]: root@172.17.0.40 as root:…
Qiu Yangfan
  • 871
  • 11
  • 25
1
vote
1 answer

rsh is removing double quotes

rsh command is removing the double quotes in the remote shell. For example: my command rsh 10.20.1.25 my_pgm -g "NAME1 NAME2" In remote shell my_pgm -g NAME1 NAME2 I want double quotes for -g option in remote shell too. Any idea?
suren
  • 1,744
  • 2
  • 12
  • 7
1
vote
0 answers

rsh -l login host ls connection refused (Unix Solaris 9)

I currently have an issue when login to a remote server. I can perfectly log in with rsh -l login host. or with rlogin. However, when trying to use an ls command, the server refuse the connection. I do not have the root account. The content of…
Nolafir
  • 11
  • 2
1
vote
0 answers

RSH & REXEC from Windows 2008 Server to AIX Unix Box

Is anyone aware of how to call a RSH and REXEC command from a script on a windows 2008R2 server to a AIX Unix box - The commands worked under 2003 Server with the unix addons installed but not 2008
Inkey
  • 2,189
  • 9
  • 39
  • 64
0
votes
2 answers

How i can check which services use rsh in unix-aix?

I want to disable rsh in my unix box for security issues , but after do that i have to check if any service use it to handle it , so that anyone know how i can list all services or application use rsh ?
Eng Al-Rawabdeh
  • 15
  • 1
  • 11
0
votes
1 answer

How Can I Tell what Username RSH sends from SUA?

I am on a Windows Vista 64-bit Enterprise machine with Subsystem for Unix Applications installed and the applications downloaded. I am attempting to use RSH to connect to a FreeBSD server. The command I would like to execute is: rsh…
Zach
  • 2,145
  • 3
  • 17
  • 32
0
votes
1 answer

CVS - Cannot exec rsh error

I am trying to use C-x v = to compare my current buffer with the repository file. But it gives error: cvs [diff aborted]: cannot exec rsh: No such file or directory cvs [diff aborted]: end of file from server (consult above messages if any) Yes,…
RNA
  • 146,987
  • 15
  • 52
  • 70
0
votes
0 answers

Why do I get "account expired" for root access over rsh, even though the account works for local login?

I'm using rsh in a script to copy stuff from a Solaris 11 master server to a newly installed one. I know, ssh is safer but I would like to avoid the hassle of passwords, as this all takes place in a closed network anyway. I have enabled the rsh…
Martin
  • 21
  • 2
0
votes
2 answers

RSH connection refused while running MPI program

I'm trying to run MPI programs on 8 machines, but I get the error connect to address 127.0.0.1 port 544: Connection refused Trying krb4 rsh... connect to address 127.0.0.1 port 544: Connection refused trying normal rsh (/usr/bin/rsh) lagrid02:…
Sharat Chandra
  • 4,434
  • 7
  • 49
  • 66
0
votes
2 answers

Run shell script on a remote machine in Unix without using ssh or rsh

I want to run a script on another machine. Is there anyway to do it without any kind of authentication even if I'm running it for the first time on that machine? It is assumed that the other machine is trusted. I can't use ssh as it breaks the…
latestVersion
  • 458
  • 1
  • 6
  • 17
0
votes
2 answers

process files via rsh in perl

I have an existing program which takes a directory path and processes recursively tis directory and its files. I need to change this code to use a directory on a remote system, so for example the flow is as such : ---Here I do my process to get file…
kurt
  • 11
  • 3
0
votes
1 answer

How can I connect to a remote machine and list all files in a directory?

I am on a Unix machine, and I need to remotely connect, via rsh, to a Windows machine and list all the files in a particular directory. Most of the code I've read is really confusing. Are there any short examples how to do this?
kurt
  • 11
  • 3
0
votes
2 answers

How to write a CVS wrapper script

I'd like to write a CVS wrapper script that executes the command on another machine using RSH but am having trouble with quotes. #!/bin/csh -f rsh cvs $*:q The problem is that even though the arguments are passed with quotes RSH seems to…
dromodel
  • 9,581
  • 12
  • 47
  • 65
0
votes
1 answer

Accessing exit code of running a remote command through rsh, using Perl's qx

I'm using qx() to run a command on a remote windows machine through rsh. I need to access the exit code of the remote command. I followed the instructions here "Get return code and output from command in Perl", but using $? always returns 0 - seems…
him
  • 487
  • 3
  • 12
0
votes
0 answers

accessing/passing openshift pod environment variables within scripted “oc rsh” calls

maybe some of you openshift/docker pros can help me out with this one. Apologies in advance for my formatting, im on mobile and dont have access to exact error codes right now. I can supply more detailed input/stderr later if needed. Some details…