I'm trying to run ssh2 over another (already existing) tunnel. The remote side of the tunnel connects to sshd2's listening port. On the client side I put its host key in ~/.ssh2/hostkeys/key_8989_localhost.pub The tunnel is on port 8989. Then did: ssh2 -d 99 -p 8989 -l username localhost I get: warning: Development-time debugging not compiled in. warning: To enable, configure with --enable-debug and recompile. debug: hostname is 'localhost'. debug: Unable to open /users/buschman/.ssh2/ssh2_config warning: Development-time debugging not compiled in. warning: To enable, configure with --enable-debug and recompile. debug: connecting to localhost... debug: ssh_client_wrap: creating transport protocol debug: Ssh2Client/sshclient.c:1015/ssh_client_wrap: creating userauth protocol debug: entering event loop debug: Ssh2Client/sshclient.c:349/keycheck_key_match: Host key found from database. Then nothing. Hnags like that. Server side is the same I get: WARNING: Development-time debugging not compiled in. WARNING: To enable, configure with --enable-debug and recompile. WARNING: Development-time debugging not compiled in. WARNING: To enable, configure with --enable-debug and recompile. debug: Reading private host key from /etc/ssh2/hostkey debug: Key comment: 1024-bit dsa hostkey debug: SshUnixConfig/sshunixconfig.c:270/ssh_server_load_host_key: Reading public host key from: /etc/ssh2/hostkey.pub debug: Becoming server. debug: Creating listener debug: Listener created sshd2[29490]: Listener created on port 22. sshd2[29490]: Daemon is running. debug: Running event loop sshd2[29490]: connection from "127.0.0.1" debug: Sshd2/sshd2.c:676/new_connection_callback: Wrapping stream with ssh_server_wrap... debug: ssh_server_wrap: creating transport protocol debug: ssh_server_wrap: creating userauth protocol debug: Sshd2/sshd2.c:687/new_connection_callback: done. debug: new_connection_callback returning then nothing Any ideas what's happening? jonathan
