Mailinglist Archive: opensuse-security (556 mails)
| < Previous | Next > |
Re: [suse-security] ssh question
- From: maf king <maf@xxxxxxxxxxxxxx>
- Date: Tue, 4 Sep 2001 16:22:00 +0100
- Message-id: <20010904162200.Q9208@carrie>
Hi Sven.
On 2001.09.04 16:02:52 +0100 Sven Michels wrote:
> Hi maf,
>
> > Sounds to me like the 2.2.19 firewall allows connections to be made,
> but
> > the 2.4.x (iptables or ipchains?) is blocking these connections.
> iptables .. yes it seems so but didn't find anything :(
> i had the same problem to a customer gateway .. that was behind a openbsd
> firewall .. same here.. but thats sometime ago ..
>
> > Strange that you get nothing in the firewall logs. Does the sshd say
> > anything about the connections in /var/log/messages?
> nope, nothing... the ssh -v shows the allocating of a priv port
> and than it hangs.
>
Hmm,
if I do ssh -v someserver it tells me that I am using port 22 on the sshd
server. (As expected!)
BUT I don't see my port...
run: ssh your_server.dom.ain
then, in a second shell, run: netstat -an | grep -e tcp
and that should show you the details of your connection.
HTH
Maf.
On 2001.09.04 16:02:52 +0100 Sven Michels wrote:
> Hi maf,
>
> > Sounds to me like the 2.2.19 firewall allows connections to be made,
> but
> > the 2.4.x (iptables or ipchains?) is blocking these connections.
> iptables .. yes it seems so but didn't find anything :(
> i had the same problem to a customer gateway .. that was behind a openbsd
> firewall .. same here.. but thats sometime ago ..
>
> > Strange that you get nothing in the firewall logs. Does the sshd say
> > anything about the connections in /var/log/messages?
> nope, nothing... the ssh -v shows the allocating of a priv port
> and than it hangs.
>
Hmm,
if I do ssh -v someserver it tells me that I am using port 22 on the sshd
server. (As expected!)
BUT I don't see my port...
run: ssh your_server.dom.ain
then, in a second shell, run: netstat -an | grep -e tcp
and that should show you the details of your connection.
HTH
Maf.
| < Previous | Next > |