jailkit-users
[Top][All Lists]
Advanced

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

RE: [Jailkit-users] SSH Problems


From: Jon Gullidge
Subject: RE: [Jailkit-users] SSH Problems
Date: Sun, 8 Nov 2009 13:35:54 +0000

If I change it in /etc/passwd to /bin/bash it lets me ssh in fine. Change it back to jk_chrootsh and it fails again.
Hope that helps shed a bit more light for you!

> Date: Sun, 8 Nov 2009 13:09:20 +0100
> From: address@hidden
> To: address@hidden
> Subject: Re: [Jailkit-users] SSH Problems
>
> Jon Gullidge wrote:
> > Hi I've recently been trying to get Jailkit to work and I've run accross
> > a problem or 2.
> > Everything works swimmingly when I SU to the jailed user. It jails it
> > perfectly, presents me with my bash CLI, etc etc. Now when I login via
> > SSH it rejects the password. Looking at messages, it looks like it
> > dislikes the password:
> >
> > Nov 8 08:42:30 crispycrisp sshd[17695]: error: PAM: Authentication
> > failure for javadk from 213-211-62.netrun.cytanet.com.cy
> > Nov 8 08:42:30 crispycrisp sshd[17695]: Failed keyboard-interactive/pam
> > for javadk from 213.7.211.62 port 61186 ssh2
> >
> > Now I have check the password, and re-set the password several times so
> > I know that the password being typed is correct, yet it still doesn't
> > work. I try with the jk_lsh but I couldn't even sudo in, but I'd prefer
> > bash anyway. So I'm wondering what's going wrong? Each time I have
> > changed the password I've re-copied the passwd file over, even though it
> > doesn't need to be, just to make sure.
> > I'm stumped. Any ideas what it could be?
>
> change the shell in the real /etc/passwd from jk_chrootsh to bash and
> see if you can log in. If that also doesn't work it's not related to
> jailkit but something in your sshd or pam config.
>
> regards,
> Olivier
>
>
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/jailkit-users


New Windows 7: Find the right PC for you. Learn more.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]