Re: sftp on win
From: Eric (eric.chin_at_pinnacle.co.uk)
Date: 11/20/03
- Next message: Matchstick: "Re: PuTTY and WinSSHD banner message problem"
- Previous message: memacro: "Problem about SSH traffic statistics"
- In reply to: Oli K-u-r-t: "sftp on win"
- Next in thread: Oli K-u-r-t: "Re: sftp on win"
- Reply: Oli K-u-r-t: "Re: sftp on win"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 20 Nov 2003 01:23:02 -0800
try: sftp -s /usr/local/libexec/sftp-server user@hostname
note: assume sftp-server is located in /usr/local/libexec directory
and on unix server.
checks - /usr/local/libexec is world accessable
/usr/local/libexec/sftp-server is world executable
create a symbolic links for sftp-server either in /usr/bin or
/usr/local/bin to point to /usr/local/libexec/sftp-server
also, put /usr/local/libexec in the search path
hope this help.
Oli K-u-r-t <oglimmer@yahoo.com> wrote in message news:<bpgkm0$1mlh0i$1@ID-143219.news.uni-berlin.de>...
> Hi,
>
> I installed OpenSSH from http://lexa.mckenna.edu/sshwindows/ on my
> Windows XP machine.
>
> SSH (Version2) runs perfectly, but sftp wouldn't work. The server closes
> the connection immediately after connect.
>
> Here is the verbose output from the sftp-command:
>
> C:\Programme\OpenSSH\bin>sftp -v localhost
> Connecting to localhost...
> OpenSSH_3.7.1p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7b 10 Apr 2003
> debug1: Reading configuration data /etc/ssh_config
> debug1: Connecting to localhost [127.0.0.1] port 22.
> debug1: Connection established.
> debug1: identity file /home/Oli/.ssh/id_rsa type -1
> debug1: identity file /home/Oli/.ssh/id_dsa type -1
> debug1: Remote protocol version 2.0, remote software version OpenSSH_3.7.1p1
> debug1: match: OpenSSH_3.7.1p1 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_3.7.1p1
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: server->client aes128-cbc hmac-md5 none
> debug1: kex: client->server aes128-cbc hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
> debug1: Host 'localhost' is known and matches the RSA host key.
> debug1: Found key in /home/Oli/.ssh/known_hosts:1
> debug1: ssh_rsa_verify: signature correct
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: expecting SSH2_MSG_NEWKEYS
> debug1: SSH2_MSG_NEWKEYS received
> debug1: SSH2_MSG_SERVICE_REQUEST sent
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug1: Authentications that can continue:
> publickey,password,keyboard-interactive
> debug1: Next authentication method: publickey
> debug1: Trying private key: /home/Oli/.ssh/id_rsa
> debug1: Trying private key: /home/Oli/.ssh/id_dsa
> debug1: Next authentication method: keyboard-interactive
> debug1: Authentications that can continue:
> publickey,password,keyboard-interactive
> debug1: Next authentication method: password
> Oli@localhost's password:
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug1: Entering interactive session.
> debug1: Sending subsystem: sftp <<<<----AFTER THAT THING GOES WRONG
> debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
> debug1: channel 0: free: client-session, nchannels 1
> debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds
> debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
> debug1: Exit status 0
> Connection closed
>
> ------------------
>
> It looks very strange to me. Has anybody any hint?
>
> Thanks in advance
> Oliver
- Next message: Matchstick: "Re: PuTTY and WinSSHD banner message problem"
- Previous message: memacro: "Problem about SSH traffic statistics"
- In reply to: Oli K-u-r-t: "sftp on win"
- Next in thread: Oli K-u-r-t: "Re: sftp on win"
- Reply: Oli K-u-r-t: "Re: sftp on win"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|