Ubuntu – Why won’t Cyberduck connect via SFTP

sftpUbuntu

I'm receiving the following error when trying to connect via Cyberduck SFTP to an Ubuntu 9.10 server that I am able to successfully ssh into:

[main] ERROR ch.cyberduck.core.sftp.SFTPSession - Connection attempt canceled

I have other Ubuntu servers that I am able to successfully SSH into and Cyberduck is able to SFTP into. I've reviewed /etc/ssh/sshd_config and am now at a loss as to what else to check.

Best Answer

If your .bashrc or shell login is producing output sftp or scp will fail: FAQ. Try issuing a remote command via ssh:

ssh cookiemonster@myserver.com /bin/true

If the above spits out any text, you need to fix the offending text generator in the cookiemonster account's login scripts. No fortune cookies upon login for sftp. ;(

Related Topic