Skip to main content

Questions tagged [rsh]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

How to run netscape navigator with rsh and DISPLAY?

I want to launch Netscape Navigator The 6000 port on my host is open the host is added using xhost+ host + 192.168.0.33 If I did rlogin 192.168.0.33 and then export DISPLAY=192.168.0.2:0 navigator ...
elbarna's user avatar
  • 12.8k
1 vote
0 answers
895 views

how to install rsh/rlogin on RHEL 9

I need to install rsh/rlogin services on a RHEL9 host. It looks like these services were removed from the distribution and also from EPEL. I know all the reasons not to install these, but I need to ...
mikem's user avatar
  • 875
1 vote
0 answers
221 views

After restarting xinetd service, rsh shows "poll: protocol failure in circuit setup"

I have searched a lot in various forums and most indicate that the solution is to open ports in the firewall or restart the xinetd service. Although that may be the solution in some cases, I think the ...
Octavio Rodriguez Perez's user avatar
0 votes
0 answers
240 views

SSH jump proxy to access RSH-only endpoint

The setup: only a single server in the group is acessible via SSH. Others are accessible from the former via RSH only. So when I want to execut a command on other servers, I do this: $ ssh asd10 rsh ...
saulius2's user avatar
  • 151
0 votes
0 answers
232 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 ...
Karn Kumar's user avatar
1 vote
1 answer
1k 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/...
ceinmart's user avatar
  • 501
-1 votes
2 answers
79 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+ ...
Ratheesh P's user avatar
0 votes
0 answers
1k 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 ...
Amit24x7's user avatar
  • 666
0 votes
0 answers
1k 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 -...
TheHidden's user avatar
  • 808
1 vote
0 answers
482 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 ...
ikrabbe's user avatar
  • 2,173
4 votes
1 answer
494 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 ...
mrgamertag's user avatar
1 vote
1 answer
491 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 ...
R T's user avatar
  • 11
0 votes
1 answer
405 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 ...
nicoulaj's user avatar
  • 471
3 votes
2 answers
1k 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' ...
Luciano's user avatar
  • 1,159
2 votes
1 answer
547 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 ...
Xorax's user avatar
  • 585
0 votes
1 answer
2k 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.
linux user's user avatar
2 votes
3 answers
909 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 ...
Jeef's user avatar
  • 157
1 vote
2 answers
13k 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 ...
maihabunash's user avatar
  • 7,181
4 votes
0 answers
732 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....
danielbmeireles's user avatar
0 votes
1 answer
240 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 ...
GS - Apologise to Monica's user avatar
3 votes
1 answer
1k 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 ...
Lance Roberts's user avatar
0 votes
0 answers
123 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 ...
devsda's user avatar
  • 437
2 votes
1 answer
4k 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 ...
Snowjay's user avatar
  • 35
-1 votes
2 answers
210 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 ...
devsda's user avatar
  • 437
3 votes
3 answers
4k 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 ...
devsda's user avatar
  • 437
5 votes
2 answers
18k 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 ...
devsda's user avatar
  • 437
1 vote
3 answers
7k 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 ...
devsda's user avatar
  • 437
2 votes
1 answer
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... ...
devsda's user avatar
  • 437
0 votes
2 answers
706 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 ...
devsda's user avatar
  • 437
2 votes
3 answers
7k views

What is "rsh" and how to disable it?

I've never heard of the word rsh before, but I received a checklist from a security advisor that we have to "disable rsh". Can someone please tell me what rsh and how to disable it, please? ...
OmiPenguin's user avatar
  • 4,328