LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-01-2010, 10:24 PM   #1
sujithjohn
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Thumbs up rsh to an ipv6 address


Hi ,

Can i rsh to an ipv6 address.

I have enabled rsh on a windows client , i need to rah to this windows client from a linux machine.

Both ipv6 addresses pings to both.
I am able to use ipv4 with no issue.
rsh < ipv4 > hostname
it WORKS !!

but ,
bash-3.00# rsh fd20:8b1e:b255:40fa:bd1a:314f:abb4:48d9 hostname
fd20:8b1e:b255:40fa:bd1a:314f:abb4:48d9: Connection refused

Can someone please let me know how this can be done.

Thanks
~John
 
Old 08-01-2010, 11:03 PM   #2
ak@shdubey
LQ Newbie
 
Registered: Sep 2009
Location: India
Distribution: Redhat/Oracle Ent/CentOS
Posts: 28
Blog Entries: 1

Rep: Reputation: 16
Hi Sujith,

I am also a kind of newbie to RSH ( i have been setting up ssh for a while thou), wondering if you are trying to run RSH client from window machine to the linux machine or Vice-versa ?

it is possible to rsh linux via windows but rsh to window via linux is not possible (http://www.microsoft.com/resources/d....mspx?mfr=true).

Can you please explain the issue further with details like,
Windows version
Linux version
from which machine to which machine you are trying to do rsh.

-Akash
 
Old 08-02-2010, 04:51 AM   #3
sujithjohn
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Hello ,

Thank you .
Windows verrsion : 2008
Linux version : RHEL5.4 x86

I am trying to rsh to the windows client using ipv6 address.

I can rsh using ipv6 address to any other ipv6 enabled Linux client but not to the ipv6 enabled windows client.

Both windows and Linux ipv6 addresses are pingable.

Thanks
Sujith JOhn





Quote:
Originally Posted by ak@shdubey View Post
Hi Sujith,

I am also a kind of newbie to RSH ( i have been setting up ssh for a while thou), wondering if you are trying to run RSH client from window machine to the linux machine or Vice-versa ?

it is possible to rsh linux via windows but rsh to window via linux is not possible (http://www.microsoft.com/resources/d....mspx?mfr=true).

Can you please explain the issue further with details like,
Windows version
Linux version
from which machine to which machine you are trying to do rsh.

-Akash
 
Old 08-02-2010, 11:19 PM   #4
ak@shdubey
LQ Newbie
 
Registered: Sep 2009
Location: India
Distribution: Redhat/Oracle Ent/CentOS
Posts: 28
Blog Entries: 1

Rep: Reputation: 16
windows does not provide rsh as listener server/service

per microsoft(http://www.microsoft.com/resources/d....mspx?mfr=true).
) we can rsh to any linux box from windows client because linux has rsh server service listening for rsh type connection, however querying rsh service in windows from any other machine is not possible because windows does not have rsh server service, that implies there is no rsh server service on windows listening for rsh type connection .

Please let me know buddy, if you come across any alternate solution for this , i would also be searching.
 
Old 08-06-2010, 08:30 AM   #5
ak@shdubey
LQ Newbie
 
Registered: Sep 2009
Location: India
Distribution: Redhat/Oracle Ent/CentOS
Posts: 28
Blog Entries: 1

Rep: Reputation: 16
Sujith - if this post was helpful, could you pelase mark it as solved.. this will help other LQ users too
 
Old 08-08-2010, 10:14 PM   #6
sujithjohn
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Akash ,

You're right about the rsh from windows to Solari. You can also rsh' to a windows box using tools like OpenSSH , CYGWIN.

I am able to rsh using ipv6 address from the windows box to Linux box.
Am working on the rsh ipv6 address from Solaris to windows.

Still going on...!!

Does any one know , what are the files that are read by the rsh service. Please note : i need to rsh <ipv6 address> to windows box from Solaris.

I have edited at the Solaris box

/etc/hosts
/etc/xinetd.d /rsh
/etc/pam.conf
/.rhosts

Any particular files that should allow out going rsh ipv6 connections ?
This does work fine when using ubuntu.


Thanks ,
Sujith JOhn
 
Old 08-09-2010, 08:50 AM   #7
ak@shdubey
LQ Newbie
 
Registered: Sep 2009
Location: India
Distribution: Redhat/Oracle Ent/CentOS
Posts: 28
Blog Entries: 1

Rep: Reputation: 16
what package of rsh service u r using on windows?

Hi Sujith,

Can you please tell me what SSH server service package you are using on windows ? and what are your configuration files setup like ?

i still understand that you already have an rsh server service running on your windows machine which is listening for rsh type connection..

Please keep posted on forum.. if not me than other senior guys on this forum will certainly be able to help you.
 
Old 08-19-2010, 10:58 PM   #8
sujithjohn
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Hi ,

I am using Cygwin in windows to accept rsh/ssh and telnet requests from the
Unix Box.

After editing the /etc/named.conf file to Bind ipv6 addresses, I was able to ssh using ipv6 address to the windows client.

But since the Customer requires 'rsh using ipv6 address of the windows client from the unix box ' , this is still pending.

I think this post can be closed , as the issue is from the Windows side.
The windows client does not listen to the incoming ipv6 address.

Need to work on that.

Thanks again for the replies.

Regards ,
Sujith John
 
  


Reply

Tags
ipv6, rsh


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
Can't use ipv6 although getting address bingmou Linux - Networking 2 07-02-2009 04:58 AM
ipv6 address sarathius Programming 1 04-22-2008 02:31 PM
How to set IPv6 address on IPv6 router tlemons Linux - Networking 3 09-17-2007 01:25 PM
IPv6 address ????????? hegdeshashi Programming 3 06-19-2006 03:13 AM
getting IPv6 address lacitpo Linux - Networking 1 03-18-2005 11:09 AM


All times are GMT -5. The time now is 09:30 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