[DLC] SSH What?

Scott Behrens sbehrens at gmail.com
Tue Jan 22 18:59:07 CST 2008


Well guys I got it resolved.  Seemed to be a bind issue.  In
particular, sshd was trying to listen to requests for both IPv6 and
IPv4.  By uncommeting the line "ListenAddress 0.0.0.0".  This forces
ssh to only listen to IPv4 requests.  I saw messages in the secure.log
file that said that said ssh was already listening to port 22.  By
forcing IPv4 and restarting the sshd service, I was sucessfully able
to log in.

# sshd_config file
#Port 22
#Protocol 2,1
ListenAddress 0.0.0.0
#ListenAddress ::



Thanks!
-Scott

On Jan 22, 2008 5:01 PM, Scott Behrens <sbehrens at gmail.com> wrote:
> No problem, I'll make sure to include helpful info for everyone.  I
> have confirmed the software is running both by running:
> ps aux | grep ssh
>
> as well as checking the status of the service using
> /etc/init.d/sshd status
>
> -Scott
>
>
> On Jan 22, 2008 4:42 PM, Matthew Lechleider <matthew at lechleider.com> wrote:
> > On the machine ssh failed try this command.
> >
> > ps -aux | grep ssh
> >
> >
> > ps -aux shows all of your services running.  Grep will only search the
> > services for "ssh".  You should have at least one result if ssh is running.
> > This is a neat command to run anytime you are questioning if specific a
> > service are running.
> >
> > (Scott, you may already know that.  I was just trying to be helpful
> > explaining for others on the list)
> >
> > ________________________________________________
> > VHCS Webmail
> >
> >
> > _______________________________________________
> > DLC mailing list
> > DLC at mailman.depaul.edu
> > http://mailman.depaul.edu/mailman/listinfo/dlc
> > http://linux.depaul.edu/
> >
>
>
>
>
> --
> --
> Scott Behrens
> Radius Information Technology
> Mobile 630-930-4928 Alt. 815-260-2858
> scott.behrens at radiusit.com
> www.RadiusIT.com
>


More information about the DLC mailing list