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

Re: sshd in Vserver not working



Sjoerd Hardeman schreef:
>> Jochen Schulz wrote:
>>> Are you logging in as root? Does the server allow this?
>> Yes, but it is still a brand new install so root-login is allowed. And,
>> logging in as another user also gives the same problem
>>> Did you restrict access to the server in /etc/hosts.{allow,deny}?
>> Unfortunately, it is a remote machine, and somebody shut it down. Yet,
>> as it is a brand new install, I don't suspect anything to be in the
>> /etc/hosts.* files.
>>
>> Sjoerd
> I indeed have an empty /etc/hosts.*. Yet, I have been able to get
> slightly more debugging-info. Any ideas?
> 
> ~$ ssh -vvv 10.1.1.14
> OpenSSH_4.3p2 Debian-9etch3, OpenSSL 0.9.8c 05 Sep 2006
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 10.1.1.14 [10.1.1.14] port 22.
> debug1: Connection established.
> debug1: identity file /home/sjoerd/.ssh/identity type -1
> debug1: identity file /home/sjoerd/.ssh/id_rsa type 1
> debug1: identity file /home/sjoerd/.ssh/id_dsa type -1
> debug1: Remote protocol version 2.0, remote software version
> OpenSSH_5.1p1 Debian-3
> debug1: match: OpenSSH_5.1p1 Debian-3 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9etch3
> debug2: fd 3 setting O_NONBLOCK
> debug1: An invalid name was supplied
> Cannot determine realm for numeric host address
> 
> debug1: An invalid name was supplied
> A parameter was malformed
> Validation error
> 
> debug1: An invalid name was supplied
> Cannot determine realm for numeric host address
> 
> debug1: An invalid name was supplied
> A parameter was malformed
> Validation error
> 
> debug1: SSH2_MSG_KEXINIT sent
> Connection closed by 10.1.1.14
> 
> 
> Sjoerd
> 
Problem found. In bugreport 506949:
ec  6 10:56:12 hopapp sshd[26578]: Server listening on 0.0.0.0 port 22.
Dec  6 10:56:15 hopapp sshd[26584]: error writing /proc/self/oom_adj:
Permission denied
Dec  6 10:56:15 hopapp sshd[26585]: fatal: chroot("/var/run/sshd"):
Operation not permitted

This is resolved by installing the fixed package from sid.


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: