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

Re: ssh login problem



Hello Matthias,

did you have succeed login via matthias@localhost?

As can be seen from conf / debug files you sent, conf files seems fine, first
method is public key and after that it reports type error... can you login
to your sshd from other computers via network?

also, try from your computer ssh tunneling:

ssh -R 2222:localhost:22 matthias@localhost

and after that type your password, then you
can connect at sshd like this:

ssh -p 2222 matthias@localhost


On Wed, 29 Apr 2009 11:13:06 +0200
Matthias Lohr <matthias_e_lohr@web.de> wrote:

> Hello,
> 
> I'm not on my PC now so I can't tell you what "telnet" gives but please have a look at 2 of the files I attached in my first mail. One ist the output of "ssh -vvv matthias@localhost" and the other one ist the section sshd wrote in auth.log while I tried to log in.
> 
> My problem ist that I get to the point where I'm asked to type my password. But after typing the right password (no typos, cases faults and so on) ssh tells me that the password is wrong.
> 
> Matthias
> 
> "igord.net" <office@igord.net> schrieb am 29.04.2009 10:34:15:
> > 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>
> > 
> ____________________________________________________________________
> Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
> Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-ssh-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


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


Reply to: