I am hitting a Protocol error while trying to SFTP from one server to another. I have tried to search up Google to no avail. May i know if anyone can help me with this.
rel@kingfisher:/kingfisher_bft/hme/rel> sftp [email protected]
Need basic cursor movement capability, using vt100
error: Could not open connection to `[email protected]': Protocol error
The machine you are using to sftp into the remote machine seems to be missing the
ncurses
libraries. Install them withapt-get install libncurses5
or download them from your distributions web-page.[ From: http://ftp.vim.org/security/ssh/README.SSH2 ]
SFTP is a subsystem of the SSH protocol, and has its own protocol. Actually there are 7 SFTP protocol versions (from 0 to 6) and 2 SSH protocol versions (SSH-1 and SSH-2).
What I see here above looks like the client and the server are unable to negotiate a common protocol, and this could be due to several reasons: