The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-21-2008
sarwan sarwan is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 54
Rsh

Hi All,

I want to execute a command from my Windows machine to Linux machine using RSH only

d:> rsh <Linux machine add> -l <user_name> pwd>dir

in linux machine users home directory in .rhosts file I entered the windows machine IP address and user name.

In linux etc/hosts.equiv file I entered the Windows machine IP addrss;

In etc/hosts.allow file also I entered the windows machine IP address

While executing the above RSH command it gives the error message

Permission denied.
rsh: can't establish connection

Please let me know how to solve this problem

Thanks
  #2 (permalink)  
Old 01-21-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
From that error, it sounds like the rsh connection itself is failing.
What happens if you just type 'rsh <Linux machine add>' ?
Do you get a prompt for username and password?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0