sshd

Carson Wilcox carson.wilcox at verizon.net
Fri Mar 24 20:04:13 UTC 2006


# What ports, IPs and protocols we listen for
> Port 22

This is in my /etc/ssh/sshd_config file.

In /etc/default I don't see anything that looks like a
firewall config file but a grep -i doesn't show any
thing like tcp.

Carson


--- Daniel F de Araujo <dan at us.ibm.com> wrote:

> Carson Wilcox wrote:
> > well it's on port 22, but how do I open the port
> up
> > 
> > --- Patrick Forsythe <fuse at toto.net> wrote:
> > 
> > 
> >>
> >>Carson Wilcox wrote:
> >>
> >>
> >>>I can ping the ip, but when I try to ssh in, I
> get
> >>
> >>a
> >>
> >>>timeout on port 22.
> >>> 
> >>>
> >>
> >>I believe ssh is on port 23
> >>
> >>
> >>-- 
> >>Patrick Forsythe
> >>Tech Support
> >>Smallville Communications
> >>http://www.toto.net
> >>
> >>
> >>-- 
> >>ubuntu-users mailing list
> >>ubuntu-users at lists.ubuntu.com
> >>
> > 
> >
>
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > 
> > 
> > 
> 
> Generally, the ssh daemon (sshd) should open the
> port for you.  To make 
> sure you are _actually_ using port 22, take a look
> at 
> /etc/ssh/sshd_config.  Here's what mine looks like:
> 
> 13:32:45pm # cat /etc/ssh/sshd_config
> # Package generated configuration file
> # See the sshd(8) manpage for details
> 
> # What ports, IPs and protocols we listen for
> Port 22
> 
> If you're using a firewall, you won't be able to get
> through unless you 
> open the port.  In /etc/default, you should see a
> firewall config file 
> (I don't remember the name of it...).  Open the file
> and you should see 
> OPEN_TCP_PORTS.  There you can add port 22 and the
> firewall _should_ 
> allow incoming tcp connections on port 22.
> 
> -Dan
> 
> -- 
> Daniel F. de Araujo
> IBM Linux Technology Center
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
>
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 





More information about the ubuntu-users mailing list