LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2005, 01:45 PM   #1
bbalzer
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
Having problems with RSH commands


I run several Linux AS servers, but one of them is giving me problems executing remote commands using RSH. Most of my Linux servers work in conjunction with SGI Origin servers running IRIX 6.5.21. But on this one particular Linux server, when I try to exectute a remote command such as, for example,

# rsh IntSever5 "ls -al /usr/people/guest" (with or without quotes returns the same result)

the error message I recieve is:

poll: protocol failure in circuit setup

I can use 'rsh' by itself to another machine just fine with no problems. The anomaly seems to occur only when attempting to execute a remote command. Also, when I try to use 'rcp' on this same machine, I get another error that says,

rcmd: IntServer5: short read

I'm not sure if the two errors are related, but since they both use the RSH protocols, so I have to wonder. The 'rsh' man page doesn't offer any insight into possible problems. Any suggestions?
 
Old 11-02-2005, 05:07 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,869

Rep: Reputation: 250Reputation: 250Reputation: 250
I don't know what the problem is.

If you can't get rsh to work and rcp then try
ssh
and
scp
They are secure and have worked ok for me.
 
Old 11-03-2005, 05:58 AM   #3
bbalzer
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the suggestions, but...

I do use ssh and scp for the most part. However, RSH is an integral function in some of the critical in-house software we use, and its not a simple matter to change it. Its only used behind the security barriers between trusted hosts, so encryption isn't a big issue. Its certainly not my preferred method, but as I said, its not a simple matter to change the software.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RSH: remuser too long error when rsh is executed from IIS dev33445 Programming 0 08-29-2005 09:34 AM
Problems with running rsh in the background pat22a Linux - Software 2 09-10-2004 07:46 AM
Problems configuring RSH in redhat 8.0 eddyh Linux - Newbie 0 10-16-2003 01:29 PM
Having problems with commands ImAnEwBiE Linux - Newbie 4 08-03-2003 10:17 PM
Having problems with commands nero64 Linux - Newbie 1 11-27-2002 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration