lkml.org 
[lkml]   [2000]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject2.4.0-test8 and ssh (OpenSSH_2.1.1): error: socket: Address family not supported by protocol
From
Date

Hello,

I have just compiled the last version of the Linux kernel
(2.4.0-test8) and somehow I am no longer able to use ssh and get the
following message:

Received disconnect: Command terminated on signal 11.

In /var/log/auth, I can find the following line:

sshd[4460]: error: socket: Address family not supported by protocol

Note that until now I have been using a 2.4.0-test7-preX with no
problem.

I do not know if the error I get is related to the following change
mentioned for test8-pre1:

- socket() error code fix (EAFNOSUPPORT instead of EINVAL)

Thank you for your help and the great work on Linux,

Chris

--
"Man is distinguished from all other creatures by
the faculty of laughter."
- Joseph Addison

cbroult@madison:~ $ ssh-add
Need passphrase for /home/cbroult/.ssh/identity
Enter passphrase for broult@madison:
Identity added: /home/cbroult/.ssh/identity (broult@madison)
cbroult@madison:~ $ ssh -v localhost
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for localhost
debug: Seeding random number generator
debug: ssh_connect: getuid 1000 geteuid 1000 anon 1
debug: Connecting to madison [127.0.0.1] port 22.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version OpenSSH_2.1.1
debug: Local version string SSH-1.5-OpenSSH_2.1.1
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Forcing accepting of host key for loopback/localhost.
debug: Seeding random number generator
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Trying RSA authentication via agent with 'broult@madison'
debug: Server refused our key.
debug: RSA authentication using agent refused.
debug: Trying RSA authentication with key 'broult@madison'
debug: Server refused our key.
debug: Doing password authentication.
cbroult@madison's password:
debug: Requesting pty.
debug: Requesting X11 forwarding with authentication spoofing.
Warning: Remote host denied X11 forwarding.
debug: Requesting authentication agent forwarding.
debug: Requesting shell.
debug: Entering interactive session.
Received disconnect: Command terminated on signal 11.
debug: Calling cleanup 0x8051020(0x0)
debug: Calling cleanup 0x805cbbc(0x0)
cbroult@madison:~ $

Here is another connection attempt:

cbroult@madison:/usr/src/chris $ date
Sun Sep 10 16:31:19 CEST 2000
cbroult@madison:/usr/src/chris $ ssh localhost
cbroult@madison's password:
Warning: Remote host denied X11 forwarding.
Last login: Sun Sep 10 16:30:33 2000 from madison on pts/10
Linux madison 2.4.0-test8 #1 SMP Sun Sep 10 12:00:43 CEST 2000 i586 unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No mail.
Last login: Sun Sep 10 16:30:33 2000 from madison
Received disconnect: Command terminated on signal 11.
cbroult@madison:/usr/src/chris $ date
Sun Sep 10 16:31:27 CEST 2000
cbroult@madison:/usr/src/chris $


Upon that connexion attempt the following lines are added to
/var/log/auth:

Sep 10 16:31:25 madison sshd[4460]: Accepted password for cbroult from 127.0.0.1 port 1199
Sep 10 16:31:25 madison sshd[4460]: error: socket: Address family not supported by protocol
Sep 10 16:31:25 madison PAM_unix[4460]: (ssh) session opened for user cbroult by (uid=0)
Sep 10 16:31:25 madison sshd[4460]: Disconnecting: Command terminated on signal 11.
Sep 10 16:31:25 madison PAM_unix[4460]: (ssh) session closed for user cbroult
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.043 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site