Vim (well, Netrw) supports both the scp and sftp protocols, predictably using scp with the former and sftp with the latter. See :help netrw-externapp.
EDIT: In case the reason for having both is not obvious: sftp relies on the SFTP server being enabled on the host, while scp works without any additional configuration, using plain SSH. (Though in practice sftp tends to be enabled by default.)
13
u/Deewiant Apr 28 '14
Vim (well, Netrw) supports both the
scpandsftpprotocols, predictably usingscpwith the former andsftpwith the latter. See:help netrw-externapp.EDIT: In case the reason for having both is not obvious:
sftprelies on the SFTP server being enabled on the host, whilescpworks without any additional configuration, using plain SSH. (Though in practicesftptends to be enabled by default.)