ssh2 / X problems
I have two servers, and both have exactly the same configuration files.
I can ssh2 to one and fire up X applications. However, the other
results in the following. (Both servers have X forwarding enabled in
the ssh2_config file.)
stephen@calypso:~/bin/perlmonks$ ssh2 +x -v server2
debug: Connecting to server2, port 22...
debug: Ssh2/ssh2.c:1956/main: Entering event loop.
debug: Ssh2Client/sshclient.c:1330/ssh_client_wrap: Creating transport
protocol.
debug:
SshAuthMethodClient/sshauthmethodc.c:137/ssh_client_authentication_initialize:
Added "publickey" to usable methods.
debug:
SshAuthMethodClient/sshauthmethodc.c:137/ssh_client_authentication_initialize:
Added "password" to usable methods.
debug: Ssh2Client/sshclient.c:1362/ssh_client_wrap: Creating userauth
protocol.
debug: client supports 2 auth methods: 'publickey,password'
debug: Ssh2Common/sshcommon.c:496/ssh_common_wrap: local ip =
192.168.2.2, local port = 48245
debug: Ssh2Common/sshcommon.c:498/ssh_common_wrap: remote ip =
192.168.1.99, remote port = 22
debug: SshConnection/sshconn.c:1889/ssh_conn_wrap: Wrapping...
debug: Remote version: SSH-2.0-3.0.1 SSH Secure Shell (non-commercial)
debug: Major: 3 Minor: 0 Revision: 1
debug: Ssh2Transport/trcommon.c:1717/ssh_tr_negotiate: lang s to c: `',
lang c to s: `'
debug: Ssh2Transport/trcommon.c:1783/ssh_tr_negotiate: c_to_s: cipher
aes128-cbc, mac hmac-sha1, compression none
debug: Ssh2Transport/trcommon.c:1786/ssh_tr_negotiate: s_to_c: cipher
aes128-cbc, mac hmac-sha1, compression none
debug: Remote host key found from database.
debug: Ssh2Common/sshcommon.c:291/ssh_common_special: Received
SSH_CROSS_STARTUP packet from connection protocol.
debug: Ssh2Common/sshcommon.c:341/ssh_common_special: Received
SSH_CROSS_ALGORITHMS packet from connection protocol.
debug: server offers auth methods 'publickey,password'.
debug: SshConfig/sshconfig.c:2184/ssh2_parse_config: Unable to open
/home/stephen/.ssh2/identification
debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method
'publickey' disabled.
debug: server offers auth methods 'publickey,password'.
debug: Ssh2AuthPasswdClient/authc-passwd.c:95/ssh_client_auth_passwd:
Starting password query...
stephen's password:
debug: Ssh2Common/sshcommon.c:259/ssh_common_special: Received
SSH_CROSS_AUTHENTICATED packet from connection protocol.
Authentication successful.
debug: Ssh2Common/sshcommon.c:718/ssh_common_new_channel: num_channels
now 1
debug: Requesting X11 forwarding with authentication spoofing.
Last login: Sat Feb 02 2002 18:38:25 -0600
Linux server2.exitwound.org 2.4.17-pre8 #7 SMP Fri Dec 14 11:49:44 CST
2001 i686 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/share/doc/*/copyright
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No mail.
stephen@server2:~$ xcalc
Error: Can't open display:
stephen@server2:~$
Any thoughts on what I should do or where I should be looking?
Thanks!
--
____) ,_) ,_)
(-(__ |_ _ _ |/
____) | |(_)(_ |\
( \_,
_______________________________________________
| http://www.exitwound.org : hard to find |
| http://www.buckowensfan.com : he's the man |
_______________________________________________
| You could live a better life, if you had a |
| better mind and a better body. |
_______________________________________________
-------------BEGIN GEEK CODE BLOCK-------------
| Version: 3.1 |
| GJ/IT d- s: a C+++>$ UL++++ P+++ L+++ E--- W++|
| N+@ o K- w O- M- V PS+ PE Y+ PGP++ t+@ 5@ X++ |
| R tv+@ b+ DI++++ D+ G++ e++++ h---- r+++ y+++ |
--------------END GEEK CODE BLOCK--------------
Reply to: