Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [rsh]

The remote shell (rsh) is a command line computer program

Filter by
Sorted by
Tagged with
0
votes
0answers
69 views

login with rsh having zero size terminal (stty)

I've received a very peculiar problem all of sudden to the Linux hosts while doing rsh to them from a remote site and them opening a file it returns the file opened very limited on the terminal saying ...
1
vote
1answer
510 views

How enable non-privileged user to connect using rsh?

I have two hosts with Red Hat 7.4 , HostA and HostB. The rsh-server and rsh packages was installed in both. At both hosts, the rsh deamon was activated, the commands rsh,rlogin,rexec was added to /etc/...
-1
votes
2answers
74 views

Getting size of 40k paths from remote network

I've around 40k lines of file with paths which I need to take size from remote site (using rsh & du -scL command). I tried with while read line but due to remote connection, it exits after 100+ ...
0
votes
0answers
646 views

Unable to do RSH connection

I have two servers with RHEL 6.6 installed. I'm trying to do an RSH connection between these two. Following are the errors which I'm getting: connect to address 172.21.70.95 port 544: Connection ...
0
votes
0answers
730 views

rsh Temporary failure in name resolution

I am trying to use RSH commands using for example: rsh -l root 10.0.2.5 "ls" When I run this command I get getnameinfo: Temporary failure in name resolution but I get a shell by just running rsh -...
1
vote
0answers
297 views

Enabling rsh / rlogin with pam in amazon linux

Please don't even think of suggesting to use ssh. I use ssh and I know how to use it. But sometimes I just want to use rsh! There are good reasons to do so, if you know what you are doing! actually I ...
4
votes
1answer
185 views

Execute script on a remote server contained on client side

I am trying to figure out how I could manage more easily my servers. I'd like to know if I can make my scripts available to all the servers without copying them to the servers. They are located in my ...
1
vote
1answer
193 views

can't run “lspci” command using rsh from a windows batch file

I've made a batch file on a Windows machine, with the following command: rsh hdvg-1 -l root lspci The hdvg-1 is the name of the Linux machine on the network. But what I get in result is: command ...
0
votes
1answer
241 views

RSH closing stderr socket with a delay?

Environment: CentOS 6.6 When running this simple test (from myclient): while true; do rsh myserver "echo OK"; done After ~500 iterations, the server runs out of ports. netstat -anp on the server ...
3
votes
2answers
574 views

Ways to optimize performance in pipelines over network (RSH and SSH)

Consider a data transfer over a pipeline network in legacy systems with remote shell (RSH), like: rsh host -l user tar -cf - /home/dir \| compress | uncompress | tar -xvf - and this one in 'modern' ...
2
votes
1answer
268 views

Rsync over custom shell with fifo

I'm trying to use rsync over a custom shell created with fifo. However I cannot find a way to deal with it : The script initsh to simulate a standard shell by fifo : #!/bin/bash rm fin mkfifo fin ...
0
votes
1answer
910 views

RSH giving Connectin Refused error on RHEL

I am trying to do rsh on one of my VM but getting connection refused error. I have checked /etc/hosts and /etc/resolv.conf both have proper hostname, IP and domain.
2
votes
3answers
615 views

Can RSH be told to use a specific shell

I am working with a c++ application which fires off a system command that launches a RSH sequence such as: rsh MACHINE \"setenv DISPLAY machine:0;setenv TESTVALUE1 'test';setenv scenTime 0;setenv ...
1
vote
2answers
9k views

Install rcp on RHEL

I have a Linux Red Hat machine version 6.4 (64-bit). I notice that the rcp command does not exist on my machine (no rcp binary). I also searched in Google in order to find an rcp binary that will fit ...
4
votes
0answers
550 views

AIX NIM Master replicate / sync fails to an Alternate Master

I am getting a error when I try to replicate / sync my NIM database and resources to an Alternate NIM Master newly created in my environment: error replicating resources: unable to /usr/lpp/bos....
0
votes
1answer
199 views

What does @ mean in the hostname part of a .rhosts file in Solaris?

What does +@foo_hosts username mean in a user's .rhosts file? I presume it is defining a group of hosts in some way, but I can't figure out where to look for the definition of @foo_hosts. I found ...
3
votes
1answer
864 views

rhosts changes and re-initializing

I'm having trouble using the r-commands between my servers to do a tape backup. I've been making changes in the .rhosts file, but I'm not sure if the OS reads that file everytime it's called, or just ...
0
votes
0answers
95 views

How can I add PAM functionality in netkit-rsh-0.17

I am using CentOS. In my project, that is working on a network, I need an rsh utility. I downloaded netkit-rsh-0.17 for that and until recently all worked fine. But now I found that this utility ...
2
votes
1answer
3k views

Running rsh command under the root account

I have two machines running Solaris 9 (192.168.2.9) and Windows XP (192.168.2.5). I need to run the following command on the Windows machine: rsh 192.168.2.9 -l root pwd To be able to run this ...
-1
votes
2answers
189 views

Why rsh not opens and reads PAM modules and limits.conf?

I am working on a project, that uses rsh utility for remote connection. But my project needs some extra features for that, so I add that features. Till now, all the things are going fine. But when I ...
3
votes
3answers
3k views

Command to trace rsh server to check behaviour of particular system call

I am working with rsh. I want to check the whole process from beginning to end. For that I used strace. Os name is CentOS. I am working on single machine, server and client are on same machine. My ...
3
votes
2answers
14k views

rsh shows “poll: protocol failure in circuit setup”, why?

In the starting rsh worked properly, but after making some changes it shows some error [changes are shown in the end of this question, see that], I am sharing the same. Command $ /usr/bin/rsh ...
1
vote
3answers
6k views

rsh runs perfectly in normal user but not in root, very strange, why?

When I run command, rsh localhost pwd as a root It shows below output. connect to address 127.0.0.1 port 544: Connection refused Trying krb4 rsh... connect to address 127.0.0.1 port 544: Connection ...
2
votes
1answer
3k views

Why can't I use strace with rsh?

If I run rsh, it works, but prints some strange “Connection refused” messages at the beginning: $ rsh localhost pwd connect to address 127.0.0.1 port 544: Connection refused Trying krb4 rsh... ...
0
votes
2answers
468 views

How to detect particular system call called or not in a whole workflow?

EDIT No. 1 My task is mirroring , i.e., copying updated data from master server to all mirrors, by using rsync and rsh. But during rsync and rsh, I found some delay. My thinking is , the reason for ...
1
vote
2answers
4k views

What is rsh.rlogin and How to remove rsh.rlogin

I never heard of this word rsh and also received a check list from Security pro that we have to disable rsh. Can someone please tell me what is this rsh and how to disable it. Base OS : RHEL 5.5 and ...