"X11Forwarding yes" causes "error: socket: Protocol not supported"

Graham Guttocks graham_guttocks at yahoo.co.nz
Tue Apr 10 02:36:33 EST 2001


Greetings,

I'm running OpenSSH_2.5.2p2, and OpenSSL-0.9.6a, on BSD/OS 4.0.

Following the FAQ, I added the following line to my sshd_config
in order to enable X11 forwarding:

X11Forwarding yes

Now openssh is disconnecting my sessions immediately after
authentication and login with the following error messages:

"error: socket: Protocol not supported"
"Disconnecting: Command terminated on signal 11."

Any ideas what the problem is?

# sshd -d
debug1: Seeded RNG with 39 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: sshd version OpenSSH_2.5.2p2
debug1: load_private_key_autodetect: type 0 RSA1
debug1: read SSH2 private key done: name rsa w/o comment success 1
debug1: load_private_key_autodetect: type 1 RSA
debug1: read SSH2 private key done: name dsa w/o comment success 1
debug1: load_private_key_autodetect: type 2 DSA
socket: Protocol not supported
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from 128.165.147.151 port 858
debug1: Client protocol version 1.5; client software version OpenSSH-1.2.2
debug1: match: OpenSSH-1.2.2 pat ^OpenSSH
debug1: Local version string SSH-1.99-OpenSSH_2.5.2p2
debug1: Sent 768 bit server key and 1024 bit host key.
debug1: Encryption type: blowfish
debug1: Received session key; encryption turned on.
debug1: Installing crc compensation attack detector.
debug1: Attempting authentication for jason.
Accepted password for jason from 128.165.147.151 port 858
debug1: session_new: init
debug1: session_new: session 0
debug1: Enabling compression at level 6.
debug1: Allocating pty.
debug1: Ignoring unsupported tty mode opcode 37 (0x25)
debug1: Ignoring unsupported tty mode opcode 52 (0x34)
debug1: Ignoring unsupported tty mode opcode 71 (0x47)
debug1: Ignoring unsupported tty mode opcode 73 (0x49)
debug1: Ignoring unsupported tty mode opcode 74 (0x4a)
debug1: Ignoring unsupported tty mode opcode 75 (0x4b)
debug1: Received request for X11 forwarding with auth spoofing.
socket: Protocol not supported
debug1: Entering interactive session.
debug1: fd 5 setting O_NONBLOCK
debug1: Setting controlling tty using TIOCSCTTY.
debug1: fd 9 IS O_NONBLOCK
debug1: server_init_dispatch_13
debug1: server_init_dispatch_15
debug1: Received SIGCHLD.
debug1: End of interactive session; stdin 0, stdout (read 712, sent 712),
stderr 0 bytes.
debug1: compress outgoing: raw data 761, compressed 526, factor 0.69
debug1: compress incoming: raw data 199, compressed 192, factor 0.96
Disconnecting: Command terminated on signal 11.
debug1: Calling cleanup 0x8054864(0x80e8088)
debug1: pty_cleanup_proc: /dev/ttyp1
debug1: Calling cleanup 0x8060fd8(0x0)
debug1: Calling cleanup 0x8065bf0(0x0)
debug1: writing PRNG seed to file /root/.ssh/prng_seed



_____________________________________________________________________________
http://movies.yahoo.com.au - Yahoo! Movies
- Now showing: Dude Where's My Car, The Wedding Planner, Traffic..



More information about the openssh-unix-dev mailing list