I'm trying to login into the sftp server but its giving me this
Connecting to sftp.ABCD.com...
/bin/sh: line 1: exec: connect: not found
ssh_exchange_identification: Connection closed by remote host
Couldn't read packet: Connection reset by peer
These are the credentials that I'm trying to give
The credentials for the sftp server is below:
SFTP servers information:
Proxy Address: proxy.ABCD.com Host name: sftp.ABCD.com Port: 32 User Name: wakao Password: 123!@#
I tried with several combinations but I couldn't arrive at a conclusion as in where and why its giving me the above mentioned message
sftp -o "ProxyCommand connect -S proxy.ABCD.com:80" wakao@sftp.ABCD.com:32
sftp -o "ProxyCommand connect -S proxy.ABCD.com:80 %h %p" wakao@sftp.ABCD.com:32
Where am I going wrong? Or how to specify the command properly? Thanks in advance!
The problem is that the shell on the SFTP server cannot find the command connect
. Two likely causes:
$PATH
is not set. Try replacing connect
with /usr/bin/connect
or $(which connect)
. Or login with SSH and locate this program.connect
installed. Contact the system administrator of the machine.