[Bug 202508] [NEW] ssh -X no longer works

Launchpad Bug Tracker 202508 at bugs.launchpad.net
Sat Mar 15 16:20:51 GMT 2008

You have been subscribed to a public bug:


I've upgraded a gutsy box to hardy and ssh X11 forwarding no longer

me at remote:~$ ssh -X -v cube
OpenSSH_4.7p1 Debian-4ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to cube [] port 22.
debug1: Connection established.
debug1: identity file /home/me/.ssh/identity type -1
debug1: identity file /home/me/.ssh/id_rsa type 1
debug1: identity file /home/me/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.7p1 Debian-4ubuntu1
debug1: match: OpenSSH_4.7p1 Debian-4ubuntu1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-4ubuntu1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'cube' is known and matches the RSA host key.
debug1: Found key in /home/me/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/me/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Sending env LANG = es_ES.UTF-8
Linux cube 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Last login: Sat Mar 15 13:57:27 2008 from
me at cube:~$ 

@cube:~$ echo $DISPLAY

@cube:~$ firefox
Error: cannot open display: localhost:10.0

Here's the instalation:

 dpkg -l openssh*
ii  openssh-client       1:4.7p1-4ubuntu1     secure shell client, an rlogin/rsh/rcp replacement
ii  openssh-server       1:4.7p1-4ubuntu1     secure shell server, an rshd replacement

 dpkg -l xauth
ii  xauth                1:1.0.2-2            X authentication utility

dpkg -l xbase-clients 
ii  xbase-clients        1:7.3+10ubuntu7      miscellaneous X clients - metapackage


** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New

ssh -X no longer works
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu.

More information about the Ubuntu-server-bugs mailing list