Hi @sucker69,
Sorry, I have no knowledge of these files!!
When I use gFTP from my Asus Netbook it calls SFTP through Dropbear.
The only script I can provide, is that used by Gemini 4.70 to start the Dropbear SSH server (which I have attached in original Gem470 form and as modified to disable password log-in and to use a non-standard port) but this is not what you have asked for. Where have you found mention of these scripts, such that you think I might have them?
In the Dreambox/Dropbear case, SFTP is launched by the Dropbear SSH server when an incoming SSH client requests it (-s sftp in the incoming request).
From the message box of gFTP, here is how it starts the SSH & SFTP sessions:
Opening SSH connection to 192.168.0.24
Running program ssh -i /home/user/.ssh/rsakey -e none -l root -p 22222 192.168.0.24 -s sftp
3: Protocol Initialization
3: Protocol version 3
Successfully logged into SSH server 192.168.0.24
The above is from starting a local SSH session rather than a remote one but other than the IP address it would be the same.
ssh in the above command string is the ssh client on the Asus Netbook.
The only parameter I have provided to gFTP is the location of the RSA Key file on the Asus Netbook:
SSH Extra Params: -i /home/user/.ssh/rsakey
(and of course the SSH port instead of 21/22)
Everything else is supplied by gFTP when I tell it to start an SSH2 session instead of an FTP session.
Although I have never used it I assumed PuTTY on a Windoze system would behave in a similar (if not simpler) way. Again, with WinSCP, does it have the ability to start SFTP on the remote machine, as gFTP does?
The version of Dropbear (0.52) in my Guide, expects sftp-server to be in Dreambox folder /libexec
I placed both dropbearmulti and sftp-server in /sbin
As it did not exist, I added a folder called /libexec
and put a symbolic link to sftp-server in that folder
ln -s /sbin/sftp-server /libexec/sftpserver
There were already symbolic links called; dropbear, dropbearkey, ssh & scp
in folder /sbin and each pointed to dropbearmulti
eg: ln -s /sbin/dropbearmulti /sbin/dropbear
etc.
Sorry I cannot help with the SFTP scripts. In the Dreambox/Dropbear case, SFTP is not running continuously like the Dropbear server but only when requested by the incoming ssh client. Perhaps some other Linux systems do things differently but the above is how it works for me with Dropbearmulti 0.52 + sftp-server on my DM7000S running Gemini 4.70 in FlashWizard Multi-boot.
I hope some of the above may be of help to you?
Best wishes, John.