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

AW: [cobalt-users] [RAQ4r] PMFirewall ans SSH



> On Saturday 08 February 2003 16:01, Mike wrote:
> >
> > "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
> 
> Then pmfirewall is still running.
> You can shut it down using /etc/rc.d/init.d/pmfirewall stop

I did it, but without success. SSH isn't possible.
 
> Maybe check /etc/hosts.allow
> Did you put your PC ipaddress in there
> ALL: 1.2.3.4/255.255.255.0   # ip address/mask

I have cable connection with dinamically address. The SSH in Netstat only
show established connection but not listening. Can I try to restat sshd?

Falls Sie noch Fragen haben, stehen wir Ihnen gern zur Verfügung.

Kind regards,
Mike