LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-09-2003, 02:46 PM   #1
sammathew
LQ Newbie
 
Registered: Jul 2003
Location: USA
Distribution: cpubuilders - Red Hat
Posts: 7

Rep: Reputation: 0
Angry rsh and rlogin on Linux to HP-UX


Please help me with this rsh problem. I am running rsh to execute a command on another HP-UX machine. I give this command
rsh barny -l al "cat /home/al/list1" >> /tmp/list1. If I do this from HP-UX (barny) to linux (fred) this works fine. If I do it from linux to HP-UX it hangs. I can see that it creates a file with /tmp/sam with 0 bytes. It is not able to execute it.
I have changed the security under /etc/pam.d/rsh on linux to "sufficient". I don't have kerberos on this machine? Is that a problem. I don't understand why this is not working? Can anybody have any experience in this?.
I don't need ssh since it is in a trusted network. ssh I understand is more secure, but it is more botheration to set up I guess. If somebody can help me with setting up ssh, that will be appreciated too..
I would appreciate immediate help
Regards
Sam
 
Old 09-09-2003, 05:17 PM   #2
jonas_larson
Member
 
Registered: Jul 2003
Location: Stockholm, Sweden
Distribution: RH9
Posts: 37

Rep: Reputation: 15
Hi Sam,

ssh isn't hard to set up and you can do all you can with rsh/telnet/ftp...

check out www.openssh.org, they have pkg's for HP-UX aswell..
(on linux you probably already have it installed...)

But that wasn't your question... ;o)

It was a while ago since I worked with rsh cmd's (I am an old HP-UX admin) but I think the problem might be your .rhosts file on barney?!

How is it setup?

Regards

Jonas

PS: to do the same thing with ssh;
ssh al@barney "cat /home/al/list1" >> /tmp/list1
DS
 
  


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 Off
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 10:34 AM
rsh rlogin xterm and vncserver missing in mandrake10.1 nanjil Mandriva 0 07-18-2005 06:05 PM
Can't get rlogin, rsh to work in FC3 dangs Linux - Security 1 01-11-2005 12:45 PM
very slow rsh & rlogin on mandarke 9.2 yoko11 Mandriva 1 03-18-2004 08:31 AM
rsh and rlogin service configuration romagnol Linux - General 1 06-28-2002 04:08 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration