Re: Bug#436111: openssh-server: password-less login doesn't work for normal user under Hurd
On Sun, Aug 05, 2007 at 07:59:11PM +0530, Ritesh Raj Sarraf,,, wrote:
> Package: openssh-server
> Version: 1:4.6p1-4
> Severity: normal
> Before configuring key based login, I was able to log into the Hurd box
> as a normal user. But after adding the key using ssh-copy-id, I'm not
> able to login to the box at all (with or without the password).
> At this momeny ssh works, because I can still login as root.
> This is what I got from syslog
> Aug 5 19:04:29 hurd sshd: reverse mapping checking getaddrinfo for fw02.1.16.172.in-addr.arpa [172.16.1.1] failed - POSSIBLE BREAK-IN ATTEMPT!
> Aug 5 19:04:33 hurd sshd: (pam_unix) session opened for user root by root(uid=0)
> Aug 5 19:05:06 hurd sshd: Accepted publickey for rrs from 172.16.1.1 port 51239 ssh2
> Aug 5 19:05:06 hurd sshd: tcgetattr: Inappropriate ioctl for device
> Aug 5 19:05:06 hurd sshd: error: open /dev/tty failed - could not set controlling tty: No such device or address
These last two seem like the problem; I'm not sure how they could be
related to public-key authentication (although sshd is certainly very
confused one way or another). Could you run an sshd with the -ddd
command-line option (possibly on a separate port) and post the debug log
Does anyone on debian-hurd recognise this problem? Does it simply mean
that the tty translator is broken (perhaps by the previous tcgetattr
Colin Watson [firstname.lastname@example.org]