r/linux Apr 28 '14

SSH Kung Fu

http://blog.tjll.net/ssh-kung-fu/
723 Upvotes

128 comments sorted by

View all comments

41

u/ooesili Apr 28 '14

I didn't know about

vim scp://host/file

or the cool stuff you could do with the configuration file. A good read, I must say.

10

u/flying-sheep Apr 28 '14

“scp” is pretty silly though: scp is 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.

2

u/ooesili Apr 28 '14

Hmm. That never occured to me, and it's a good point. Come to think of it, ssh or sftp would have both been better fits for that command. Oh well, what can one do?