This is the error that I’m getting:
Testing Connection ...
+ set color:use-color yes
+ set cmd:interactive yes
+ set file:charset utf-8
+ set xfer:clobber on
+ set ftp:timezone
+ set cmd:show-status yes
+ set cmd:set-term-status yes
+ set ftp:list-options -a
+ set cmd:fail-exit yes
+ set cmd:time-style "%Y-%m-%d %H:%M:%S"
+ set ftp:ssl-allow no
+ set ssl:verify-certificate no
+ set sftp:auto-confirm yes
+ set sftp:connect-program "ssh -a -x -v"
+ set net:max-retries 3
+ set net:timeout 20
+ set net:reconnect-interval-base 5
+ set net:reconnect-interval-multiplier 1
+ open -u **user**,**pass** sftp://xxx.xxx.xxx.xxx
+ cd /var/www/html/intranet
---- Running connect program (ssh -a -x -v -s -l **user** xxx.xxx.xxx.xxx sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- execl(/bin/sh) failed: No such file or directory
**** Peer closed connection
---- Disconnecting
cd `/var/www/html/intranet' [execl(/bin/sh) failed: No such file or d---- Running connect program (ssh -a -x -v -s -l **user** xxx.xxx.xxx.xxx sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- execl(/bin/sh) failed: No such file or directory
**** pty read: pseudo-tty: Input/output error
**** execl(/bin/sh) failed: No such file or directory
---- Disconnecting
cd `/var/www/html/intranet' [execl(/bin/sh) failed: No such file or d---- Running connect program (ssh -a -x -v -s -l **user** xxx.xxx.xxx.xxx sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- execl(/bin/sh) failed: No such file or directory
**** pty read: pseudo-tty: Input/output error
**** execl(/bin/sh) failed: No such file or directory
---- Disconnecting
cd: Fatal error: max-retries exceeded (execl(/bin/sh) failed: No such file or directory)
I have set the correct remote directory too. When I connect with exactly the same credentials with Filezilla, it works just fine. Any ideas?