Re: ssh2 sftp problems
Roman Joost wrote:
I try to connect to a remote server using gftp with the ssh2 option. The
connection fails with:
3: Protocol Initialization
Error: Message size 825440307 too big from server
> and than ssh2 hangs :(
>
> Did i something wrong??
>
> Thanks Roman
From a gftp FAQ:
I'm having problems getting SSH2 transfers to work. I keep getting the
error: Error: Message size 1644196712 too big from server
What probably is the problem, sftp-server isn't in your path on the
remote server. When you try to connect to the remote server, you'll see
the command gftp is trying to run, and it'll look something like:
ssh -l username hostname "echo -n xsftp ; sftp-server"
Try running this command. If you get a prompt asking:
The authenticity of host 'hostname (###.###.###.###)' can't be established.
RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
Are you sure you want to continue connecting (yes/no)?
Tell it yes. gFTP won't even try to answer this question for you at the
moment. Then, if you get the following output:
Enter passphrase for key '/home/brian/.ssh/id_dsa':
xsftp
bash: sftp-server: command not found
You'll have to set the path to the sftp-server program. Alternatively
you could go under FTP->Options->SSH and enable Use sftp subsys. If you
enable this, then you don't have to know the remote path to your sftp
executable. But if you enable this, gFTP won't be able to send your
password over to the ssh client. So if you're not using ssh-agent, then
ssh will spawn the ssh-askpass program to grab your password.
Reply to: