Well I'm lazy so I use SeaWall - which will give you the output via 'seawall 
status', but even that doesn't tell you what is listening on what port.  
Just that the port is open and whether it is being forwarded or not.  You 
could always try SeaWall - as it closes all ports and opens them based on 
different configuration files....

S


>From: [EMAIL PROTECTED]
>To: "Simon Bolduc" <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: [Leaf-user] Dach Floppy
>Date: Fri, 11 Jan 2002 19:13:38 +0000
>
>No luck.  Same results.
>
>I had already checked with ps aux to see if it was
>running already.  I must have got something else running
>on 22, butI have no idea what.  Any magic to see what is
>running on what ports?
>
>Thanks,
>
>Sean
> > Did you stop sshd before starting it?  That could generate an error like
> > this (as this is what I get executing sshd -d when it is running):
> >
> > # sshd -d
> > debug: sshd version 1.2.27 [i686-unknown-linux]
> > debug: Initializing random number generator; seed file
> > /etc/ssh/ssh_random_seed
> > error: bind: Address already in use
> > fatal: Bind to port 22 failed: Transport endpoint is not connected.
> >
> > so what you probably need to do is:
> >
> > svi sshd stop
> > sshd -d
> >
> > Then you might get output that is a lil more helpful.
> >
> > S
> >
> > >From: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: [Leaf-user] Dach Floppy
> > >Date: Fri, 11 Jan 2002 18:55:51 +0000
> > >
> > >Ok, sshd -d  (debug!) returns:
> > >
> > >------------------------------------
> > >....Stuff
> > >....More Stuff
> > >Bind to port 22 on 0.0.0.0 failed:  Address already in
> > >use.
> > >Cannot bind any address.
> > >-------------------------------------
> > >
> > >This was Dach Floppy modified to be a static address.
> > >How can I tell what is using port 22 already?
> > >
> > >Thanks,
> > >
> > >Sean
> > > > > First a comment:  The 1680 image, isn't that really a
> > > > > 1722 image?  That causes MAJOR problems after you back
> > > > > it up a couple of times.  Seems to "mount" ok as a 1680,
> > > > > but writes don't work too well!
> > > >
> > > > No...the floppy is 1680K format...
> > > >
> > > > > The question:
> > > > >
> > > > > After modifying the floppy (static IP, delete some
> > > > > stuff) I added libz and sshd.  I boot up and after a ps
> > > > > aux, there is no sshd running.
> > > > >
> > > > > I started it manually (sshd -i) and get "Protocol
> > > > > Mismatch" and its not running.  I also started it
> > > > > without the -i (sshd) and it doesn't run.
> > > > >
> > > > > I got libz and sshd (and sshkey) from the Dach CD.
> > > >
> > > > Did you make a host-key before trying to start sshd?
> > > >
> > > > Is there anything in your logs?  Sshd is pretty good about logging 
>any
> > > > problems...
> > > >
> > > > Charles Steinkuehler
> > > > http://lrp.steinkuehler.net
> > > > http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Leaf-user mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/leaf-user
> > >
> > >_______________________________________________
> > >Leaf-user mailing list
> > >[EMAIL PROTECTED]
> > >https://lists.sourceforge.net/lists/listinfo/leaf-user
> >
> >
> >
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
>
>_______________________________________________
>Leaf-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/leaf-user




_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to