sftp server fail

From: CJ (hah@notonyerlife.com)
Date: 02/27/02


From: "CJ" <hah@notonyerlife.com>
Date: Wed, 27 Feb 2002 13:28:06 GMT

RH7.2 on an i686

Interesting one this, and one that hopefully someone can answer since I can find
zero about this particular problem on the net

ssh2 works fine. I can log into a remote server with no problems, and lot into
this server from a remote one.

scp is a different story though. I can scp stuff TO the server, but when I try
to scp something out, I am informed that the sftp-server cannot be found.
I have tried symlinking sft-server from everywhere imaginable to the sftp binary
but no luck ... heres a debug level 3 of a failed session from this particular
server to another in the subnet

<SNIP>
debug: server offers auth methods 'publickey,password'.
debug:
Ssh2AuthPubKeyClient/authc-pubkey.c:1423/ssh_client_auth_pubkey_agent_list_compl
ete: ssh_client_auth_pubkey_agent_list_complete err 0 num 0
debug: SshConfig/sshconfig.c:2232/ssh2_parse_config: Unable to open
/root/.ssh2/identification
debug: Ssh2AuthClient/sshauthc.c:315/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...
chris@192.168.xxx.xxx's password:
debug: Ssh2Common/sshcommon.c:285/ssh_common_special: Received
SSH_CROSS_AUTHENTICATED packet from connection protocol.
debug: Ssh2/ssh2.c:646/client_authentication_notify: Returning user input stream
to original values.
scp2:Scp2/scp2.c:1453/new_stream_callback: notification: 0
scp2:Scp2/scp2.c:1476/new_stream_callback: buffer: 'AUTHENTICATED YES
'
scp2:SshFCTransfer/sshfc_transfer.c:1632/transfer_stat_dest_before_rm: Statting
destination file /home/chris/make_gcc before trying to remove it...
scp2:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: No
connection yet. Waiting...
debug: Ssh2/ssh2.c:747/client_authentication_notify: forward_x11 = FALSE,
forward_agent = FALSE
debug: Ssh2Common/sshcommon.c:829/ssh_common_new_channel: num_channels now 1
debug: SshTtyFlags/sshttyflags.c:354/ssh_internal_encode_tty_flags: Not a tty.
(fd = 0)
/bin/bash: sftp-server: command not found
debug:
Ssh2ChannelSession/sshchsession.c:1716/ssh_channel_session_request_exit_status:
received exit status : 0
debug: Ssh2Common/sshcommon.c:803/ssh_common_destroy_channel: num_channels now 0
debug: Got session close with exit_status=0
debug: destroying client struct...
debug: Ssh2Client/sshclient.c:1478/ssh_client_destroy: Destroying client.
debug: SshConnection/sshconn.c:1982/ssh_conn_destroy: Destroying SshConn object.
debug: Ssh2Transport/trcommon.c:567/ssh_tr_destroy_now: Destroying
SshTransportCommon object.
debug:
SshAuthMethodClient/sshauthmethodc.c:88/ssh_client_authentication_uninitialize:
Calling notification callback.
debug: Ssh2Client/sshclient.c:1540/ssh_client_destroy_finalize: Destroying
client completed.
debug:
SshAuthMethodClient/sshauthmethodc.c:88/ssh_client_authentication_uninitialize:
Destroying authentication method array.
debug: SshAppCommon/sshappcommon.c:146/ssh_app_free_global_regex_context:
Freeing global SshRegex context.
scp2:ssh_sigchld_real_callback
scp2:ssh_sigchld_process_pid: calling handler pid 3924 code 0
scp2: warning: child process (/usr/local/bin/ssh2) exited with code 0.
[root@localhost]#

Any ideas ??

Thanks

CJ



Relevant Pages

  • Gesucht - Virensoftware die funktioniert
    ... Server specifications ... - winmsd output from the OSCE server ... To turn on the server debug program: ... Setting window appears 3. select the Enable debug log check box. ...
    (microsoft.public.de.german.exchange2000.general)
  • Getting sftp to work in batch mode
    ... I've read all the previous posts on the subject as well as the posts ... Remover Server: ... debug: client supports 2 auth methods: 'publickey,password' ... server offers auth methods 'publickey,password,keyboard- ...
    (comp.os.vms)
  • Re: ssh as non-root user
    ... The server is reporting the following to the client: ... server offers auth methods ''. ... debug: ... Unauthorized access or use of this computer system may subject violators to ...
    (SSH)
  • login with public keys
    ... ssh client to a redhat server with openssh. ... debug: Entering event loop. ... server offers auth methods 'publickey,password,keyboard-interactive'. ...
    (SSH)
  • Re: hostbased auth between commercial and OpenSSH
    ... The server just rejects hostbased from OpenSSH client saying method is ... Client side debug snippet (I've got hostbased as only ... client user 'myusername', server user 'myusername', ...
    (comp.security.ssh)