Hi,
I can't seem to get sftp-server work with SSH 2.4.0. I tried using the
complete path for sftp-server in sshd2_config, but that doesn't appear to be
the problem. The connection is lost as soon as I log in. Here's the log file
in debug mode, hope anybody can help.
sshd2[24502]: User alex's local password accepted.
sshd2[24502]: Password authentication for user alex accepted.
debug: Sshd2/sshd2.c:349/auth_policy_proc: user 'alex' service
'ssh-connection' client_ip '242.232.56.235' client_port '62679' completed
'password'
debug: Ssh2Common/sshcommon.c:306/ssh_common_special: Received
SSH_CROSS_STARTUP packet from connection protocol.
debug: Ssh2Common/sshcommon.c:356/ssh_common_special: Received
SSH_CROSS_ALGORITHMS packet from connection protocol.
debug: Ssh2Common/sshcommon.c:274/ssh_common_special: Received
SSH_CROSS_AUTHENTICATED packet from connection protocol.
sshd2[24502]: User alex, coming from 242.232.56.235, authenticated.
debug: Ssh2Common/sshcommon.c:704/ssh_common_new_channel: num_channels now 1
debug: Ssh2ChannelSession/sshchsession.c:1103/ssh_channel_session_exec:
Forking without pty
debug: ssh_sigchld_real_callback
debug: ssh_sigchld_process_pid: calling handler pid 24512 code 254
debug: ssh_pipe_sigchld_handler: pid 24512 status 254
debug: SshConnection/sshconn.c:623/ssh_conn_channel_write: EOF received on
write from channel 0x80daf08, extended stream 0.
debug: ssh_pipe_sigchld_do_callback
debug: Ssh2Common/sshcommon.c:678/ssh_common_destroy_channel: num_channels
now 0
debug: ssh_pipe_stream_destroy
debug: Ssh2Common/sshcommon.c:137/ssh_common_disconnect: DISCONNECT
received: Connection closed.
sshd2[24502]: Local disconnected: Connection closed.
debug: Sshd2/sshd2.c:95/server_disconnect: locally_generated = TRUE
sshd2[24502]: connection lost: 'Connection closed.'
debug: Exiting event loop
Thanks!
Alejandro