LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rsh to an ipv6 address (https://www.linuxquestions.org/questions/linux-newbie-8/rsh-to-an-ipv6-address-823460/)

sujithjohn 08-01-2010 10:24 PM

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

ak@shdubey 08-01-2010 11:03 PM

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

sujithjohn 08-02-2010 04:51 AM

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 (Post 4052170)
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


ak@shdubey 08-02-2010 11:19 PM

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.

ak@shdubey 08-06-2010 08:30 AM

Sujith - if this post was helpful, could you pelase mark it as solved.. this will help other LQ users too :)

sujithjohn 08-08-2010 10:14 PM

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

ak@shdubey 08-09-2010 08:50 AM

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.

sujithjohn 08-19-2010 10:58 PM

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


All times are GMT -5. The time now is 07:02 AM.