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

Re: ssh2 / X problems



 Cameron Kerr (cameron.kerr@paradise.net.nz) spake thusly:
> On Sat, 2 Feb 2002, shock wrote:
> 
> Does it happen with any other user account?

it happens with all accounts.

> Try running the server in debug mode. This will likely tell you whats
> happening.

this results in output on both the client and server side.  Here's the
client side output:

############################################
stephen@calypso:~$ ssh2 server2
stephen's password:
Authentication successful.
debug: Ssh2ChannelSession/sshchsession.c:738/ssh_channel_session_child:
ssh_channel_session_child: now running as user 'stephen'
debug: Environment:
debug:   HOME=/home/stephen
debug:   USER=stephen
debug:   LOGNAME=stephen
debug:   PATH=/usr/bin:/bin:/usr/local/bin
debug:   MAIL=/var/spool/mail/stephen
debug:   SHELL=/bin/bash
debug:   SSH2_CLIENT=192.168.1.10 63545 192.168.1.99 22
debug:   TERM=xterm
debug:   DISPLAY=server2.exitwound.org:10.0
debug:   LANG=C
debug: Running /usr/X11R6/bin/xauth add server2.exitwound.org:10.0
MIT-MAGIC-COOKIE-1 1f55726ddb9304a5d35c0401fcca6961
debug: Running /usr/X11R6/bin/xauth add 192.168.1.99:10.0
MIT-MAGIC-COOKIE-1 1f55726ddb9304a5d35c0401fcca6961
Last login: Sun Feb 03 2002 12:45:27 -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:~$
############################################

and here's the server-side output

############################################
debug: SshAppCommon/sshappcommon.c:154/ssh_app_get_global_regex_context:
Allocating global SshRegex context.
sshd2: SSH Secure Shell 3.0.1 (non-commercial version) on
i686-pc-linux-gnu
debug: SshHostKeyIO/sshhostkeyio.c:220/ssh_host_key_read_keys: Host key
algorithms: ssh-dss
debug: Becoming server.
debug: Creating listener
debug: Listener created
debug: no udp listener created.
sshd2[21630]: Listener created on port 22.
sshd2[21630]: Daemon is running.
debug: Running event loop
sshd2[21630]: connection from "192.168.1.10"
debug: Sshd2/sshd2.c:1062/new_connection_callback:
new_connection_callback
debug: Sshd2/sshd2.c:1214/new_connection_callback: Wrapping stream with
ssh_server_wrap...
debug: ssh_server_wrap: creating transport protocol
debug:
SshAuthMethodServer/sshauthmethods.c:118/ssh_server_authentication_initialize:
Added "publickey" to usable methods.
debug:
SshAuthMethodServer/sshauthmethods.c:118/ssh_server_authentication_initialize:
Added "password" to usable methods.
debug:
SshAuthMethodServer/sshauthmethods.c:133/ssh_server_authentication_initialize:
Added "hostbased" to usable methods.
debug: ssh_server_wrap: creating userauth protocol
debug: Ssh2Common/sshcommon.c:496/ssh_common_wrap: local ip =
192.168.1.99, local port = 22
debug: Ssh2Common/sshcommon.c:498/ssh_common_wrap: remote ip =
192.168.1.10, remote port = 63545
debug: SshConnection/sshconn.c:1889/ssh_conn_wrap: Wrapping...
debug: Sshd2/sshd2.c:1232/new_connection_callback: done.
debug: new_connection_callback returning
debug: Remote version: SSH-1.99-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: Sshd2/sshd2.c:593/auth_policy_proc: user 'stephen' service
'ssh-connection' client_ip '192.168.1.10' client_port '63545' completed
''
debug: Sshd2/sshd2.c:901/auth_policy_proc: output: publickey,password
debug:
SshUnixUser/sshunixuser.c:1250/ssh_user_validate_secure_rpc_password:
not yet implemented
debug:
SshUnixUser/sshunixuser.c:1238/ssh_user_validate_kerberos_password:
kerberos support not compiled in
sshd2[21630]: User stephen's local password accepted.
sshd2[21630]: Password authentication for user stephen accepted.
debug: Sshd2/sshd2.c:593/auth_policy_proc: user 'stephen' service
'ssh-connection' client_ip '192.168.1.10' client_port '63545' completed
'password'
debug: Ssh2AuthServer/sshauths.c:335/success_completion_proc:
no_more_needed=TRUE
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: Ssh2Common/sshcommon.c:259/ssh_common_special: Received
SSH_CROSS_AUTHENTICATED packet from connection protocol.
sshd2[21630]: User stephen, coming from pappy.exitwound.org,
authenticated.
debug: Ssh2Common/sshcommon.c:718/ssh_common_new_channel: num_channels
now 1
debug: Ssh2ChannelSession/sshchsession.c:1069/ssh_channel_session_exec:
Allocating pty.
debug: Setting controlling tty using TIOCSCTTY.
debug: ssh_sigchld_real_callback
debug: ssh_sigchld_process_pid: calling handler pid 21631 code 0
debug: ssh_pty_sigchld_handler: pid 21631 status 0
debug: ssh_pty_sigchld_do_callback
debug: SshConnection/sshconn.c:376/ssh_conn_send_channel_data_type: EOF
from channel stream
debug:
Ssh2ChannelSession/sshchsession.c:1591/ssh_channel_session_destroy:
Destroying session stream, and logging user out.
debug: Ssh2Common/sshcommon.c:692/ssh_common_destroy_channel:
num_channels now 0
debug: ssh_pty_stream_destroy
debug: Ssh2Common/sshcommon.c:137/ssh_common_disconnect: DISCONNECT
received: Connection closed.
sshd2[21630]: Local disconnected: Connection closed.
debug: Sshd2/sshd2.c:184/server_disconnect: locally_generated = TRUE
sshd2[21630]: connection lost: 'Connection closed.'
debug: SshConnection/sshconn.c:1937/ssh_conn_destroy: Destroying SshConn
object.
debug:
SshAuthMethodServer/sshauthmethods.c:157/ssh_server_authentication_uninitialize:
Destroying authentication method array.
debug: Exiting event loop
debug:
SshAppCommon/sshappcommon.c:168/ssh_app_free_global_regex_context:
Freeing global SshRegex context.

-- 
 ____) ,_)        ,_)
(-(__  |_  _  _ |/
 ____) | |(_)(_ |\
(                 \_,
 _______________________________________________
| http://www.exitwound.org    : hard to find    |
| http://www.buckowensfan.com : he's the man    |
 _______________________________________________
| Q: Why was Stonehenge abandoned? A: It        |
| wasn't IBM compatible.                        |
 _______________________________________________
 -------------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: