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

Re: ssh login problem



OK it seems that your ssh listen`s on all interfaces;

what exactly is problem?

when you "ssh matthias@localhost" what is output?


also, give us:


#cat /var/log/auth.log | grep sshd


#telnet localhost 22


On Wed, 29 Apr 2009 08:18:57 +0200
Matthias Lohr <matthias_e_lohr@web.de> wrote:

> Hello Igor,
> 
> Thanks for your help! I catched the output of netstat:
> netstat -natp | grep :22
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
> 3498/sshd
> tcp        0      0 127.0.0.1:54116         127.0.0.1:22            VERBUNDEN   
> 4663/ssh
> tcp        0      0 127.0.0.1:22            127.0.0.1:54116         VERBUNDEN   
> 4664/sshd: matthias
> tcp6       0      0 :::22                   :::*                    LISTEN      
> 3498/sshd
> 
> Matthias
> 
> Am Dienstag, 28. April 2009 schrieb Igor David:
> > Hello,
> >
> > give us output (as root):
> >
> > netstat -natp | grep :22
> >
> >
> > On Tue, 28 Apr 2009 09:51:53 +0200
> >
> > Matthias Lohr <matthias_e_lohr@web.de> wrote:
> > > Hello,
> > >
> > > Sorry for that mail, but I don't know what to do anymore. I googled for
> > > the problem but I didn't find a solution for it. The problem is that I
> > > can't ssh on my PC. I tried some settings in the sshd_conf, had a look
> > > into /etc/security and /etc/pam.d/ssh but nothing worked. It's possible
> > > so ssh on another PC but I can't "ssh matthias@localhost".
> > >
> > > The files I consider important are attached below. It's a debian lenny
> > > i386 newly set up with the provided configs.
> > >
> > > Thank you a lot for your help! Kind regards,
> > > Matthias
> > > --
> > > Mein öffentlicher Schlüssel zur E-Mailverschlüsselung ist verfügbar
> > > unter: http://www.mlohr.de/kontakt/web.asc
> 
> 
> 
> -- 
> Mein öffentlicher Schlüssel zur E-Mailverschlüsselung ist verfügbar unter:
> http://www.mlohr.de/kontakt/web.asc
> 


-- 
igord.net <office@igord.net>


Reply to: