Fedora Linux Support Community & Resources Center
  #1  
Old 19th February 2004, 05:59 PM
jgeorgeson Offline
Registered User
 
Join Date: Feb 2004
Posts: 8
ipv6,sit0, and sshd

So after installing and booting FC2-test1, I see that the ipv6 module is loaded, and in use so I can't unload it. Running `ip link` shows an interface sit0, which I believe is an ipv4/ipv6 tunnel. Running `netstat -lntp` shows sshd bound to :::22. So What I think is happening, is sshd is default configured to bind to the ipv6 IPADDR_ANY and the sit0 interface is there so ipv4 machines can connect to it. This seems awfully stupid to me. I don't have an ipv6 address, I don't want an ipv6 interface, and I don't want to add the extra step of mapping from ipv4 to ipv6 for sshd 'just because it can.' Can anyone comment on my assumptions, and if they are right, how to get sshd on plain ipv4 0.0.0.0:22 and get rid of ipv6/sit0.
  #2  
Old 21st February 2004, 12:15 PM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 736
I'm interested to know how this all works also. There's a significant lack of documentation on the subject at this point.
sit0 is an IPv6-to-IPv4 tunnel. Why IPv6 is enabled as default is beyond me, except for the notable fact that The Fedora Project is where the latest technologies are tried. As for returning sshd functionality to IPv4, I'm not sure.
There is a thread on using ssh with IPv6 on the fedora mailing list you may want to look at:
http://www.redhat.com/archives/fedor.../msg02654.html
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
  #3  
Old 21st February 2004, 12:36 PM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 736
Well, I was tinkering with the SSHd configuration and have found the solution:
In /etc/ssh/sshd_config:

Uncomment "ListenAddress 0.0.0.0".

Then simply
`service sshd restart`

And voila:
Code:
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
 

Tags
ipv6, sit0, sshd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Using Fedora 9 28th March 2008 06:37 AM
What is sit0? larka06 Servers & Networking 1 17th January 2006 07:42 PM
IPv6 & sit0 problem? friendggyy Servers & Networking 2 5th June 2004 07:33 PM


Current GMT-time: 06:03 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat