sshd uses ipv6 by default even if it's not supported on my
router
Alex Paquet-Bouchard
apbmail at gmail.com
Sun Sep 11 18:23:55 CDT 2005
ahh, ok thanks! stupid mistake of me.. I'm so used to typing the port in the
ip:port format, I didn't think it could be the problem..
On 9/11/05, Trent Lloyd <lathiat at bur.st> wrote:
>
> On Sun, Sep 11, 2005 at 07:02:15PM -0400, Alex Paquet-Bouchard wrote:
> > lsof -i output for sshd (it shows ipv6):
> > sshd 5493 root 3u IPv6 8583 TCP *:33333 (LISTEN)
> >
> > but if I try to connect to it localy ie: ssh 127.0.0.1:33333<http://127.0.0.1:33333>,
> I get --> ssh:
> > 127.0.0.1:33333 <http://127.0.0.1:33333>: Name or service not known
> > So I can't connect, I'm guessing becauses it uses ipv6...
>
> So in fact your problem has nothing to do with IPv6, this tells you the
> socket will do both (although I can understand how that may be
> confusing)
>
> If you read "man ssh" you will see that
>
> -p port
> Port to connect to on the remote host. This can be specified on
> a per-host basis in the configuration file.
>
> So what you want to do is
> ssh 127.0.0.1 <http://127.0.0.1> -p 33333
>
> Cheers,
> Trent
>
> >
> > Thanks, Alex
> >
> > On 9/11/05, Trent Lloyd <lathiat at bur.st> wrote:
> >
> > Alx,
> >
> > On Sun, Sep 11, 2005 at 06:38:14PM -0400, Alex Paquet-Bouchard wrote:
> > > I can't use it, not even localy.. and I need to use it remotly. I'm
> > > recompiling the kernel right now and removing all ipv6
> > support. Hopefully that
> > > should fix it.
> >
> > Umm, thats a bad idea, there is absolutely no need to do that.
> >
> > Can you please describe the problem you are having? ssh uses *both* ipv4
> > and ipv6 by default, so unless you changed the configuration to use ipv6
> > only you should have no problems.
> >
> > Can you please describe the specific problem you are having?
> >
> > Cheers,
> > Trent
> >
> > >
> > > Thanks,
> > > Alex
> > >
> > >
> > > On 9/11/05, Trent Lloyd < lathiat at bur.st> wrote:
> > >
> > > Because you have link local and loopback addresses it can listen on.
> > >
> > > Is it causing a problem?
> > >
> > > Cheers,
> > > Trent
> > >
> > > On Sun, Sep 11, 2005 at 06:28:41PM -0400, Alex Paquet-Bouchard wrote:
> > > > Anyone know why sshd would start automatically using ipv6 instead
> > of ipv4
> > > even
> > > > if my router or connection doesn't support it?
> > > >
> > > > Alex
> > >
> > > > --
> > > > ubuntu-devel mailing list
> > > > ubuntu-devel at lists.ubuntu.com
> > > > http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
> > >
> > >
> > > --
> > > Trent Lloyd < lathiat at bur.st >
> > > Bur.st <http://Bur.st> Networking Inc.
> > >
> > >
> >
> > > --
> > > ubuntu-devel mailing list
> > > ubuntu-devel at lists.ubuntu.com
> > > http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
> >
> >
> > --
> > Trent Lloyd <lathiat at bur.st>
> > Bur.st <http://Bur.st> Networking Inc.
> >
> >
>
> --
> Trent Lloyd <lathiat at bur.st>
> Bur.st <http://Bur.st> Networking Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050911/f2c8f7f4/attachment.htm
More information about the ubuntu-devel
mailing list