When using the demo images and attempting to use WinSCP or some other sftp application you may get an error like
“Cannot initialize SFTP protocol. Is the host running a SFTP server?” from WinSCP or
“Connecting
[SFTP] Host key accepted
[SFTP] Successfully authenticated
[SFTP] Error initialising sftp: Access denied. Authentication that can continue: publickey,password
Unable to connect”
from Notepad++
This is due to demo images not including the openssh-sftp-server package by default
To install login to the Beaglebone using SSH (via putty) and run
opkg update
opkg install openssh-sftp-server
Your WinSCP or Notepad++ or other SFTP application should now work nicely
After installing openssh-sftp-server, I still cannot access to BBB via Winscp. Where is it installed? I cannot find anything in the Angstrom Linux associated with either sshd nor sftp?
Thanks
Jim
LikeLike
http://devtidbits.com/2011/06/29/implement-a-sftp-service-for-ubuntudebian-with-a-chrooted-isolated-file-directory/
LikeLike