[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] [RAQ4r] PMFirewall ans SSH



> On Saturday 08 February 2003 14:55, Mike wrote:
> > I installed a PMFirewall following Gerald's instructions. All work fine
> > except SSH. I tried as Gerald recommend to enter a new SSH and telnet
shell
> > from my PC before I dissconnect. The Telnet works, but SSH tell about
> > refused connections because service isn't provided or run on another
port.
> > But my existing SSH shell works further, I'm not dissconnected without
any
> > problems. I didn't chnage anything in my SSHclient or on the server. And
> > after I stopped the PMFirewall the problem persist and it came the same
> > error message. Any idea? Any help will be appreciated, and sorry for my
> > english. Thanks in advance.
> >
> 
> What is the exact error message? "connection refused" ?

It say:

"The remote system refused connection. This probably means that the remote
system does not provide the service you are attempting to access, or that
the service is being provided on a different port."

> Try running 'netstat -tupan | grep sshd'

I receive only one entry from me:

[root /root]# netstat -tupan | grep sshd
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0    176 xxx.xxx.xx.xx:22       xxx.xxx.xx.xxx:46797
ESTABLISHED 5183/sshd           
[root /root]#

> To see if ssh is listening.
> run 'ipchains -L' to see if ssh is accepted

Yes, it say:

ACCEPT     tcp  ------  anywhere             xxx.xxx.xxx.xxx/25     any ->
ssh

Kind regards,
Mike