I improved the SSH login code for the upcoming 2.0.18 release. You do not
have to know the remote path to the sftp-server binary, nor does gftp have
to send the echo xsftp command in front of sftp-server. It should just work out
of the box for you. You can download my latest code at
http://www.gftp.org/gftp-test.tar.bz2
Thanks. I can now connect to our server by ssh. Changing directories and 
viewing directory contents also works, but when I try to upload a file, gFTP 
crashes. (The window just disappears, and nothing appears in the log file to 
indicate the cause of the crash.) Ordinary ftp still works. I'll be happy to 
provide any debugging information you need if you'll just tell me what would 
be helpful.