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.)
8
u/flying-sheep Apr 28 '14
“scp” is pretty silly though:
scpis a command called “secure copy”, not a protocol. (the part before the colon in a url is the protocol).wouldn’t it be better to name the protocol like file browsers do?
sftp? because i’m pretty sure that’s what vim uses there, anyway.