skip to main | skip to sidebar

Daily Vim: Text Editor Tips, Tricks, Tutorials, and HOWTOs

A blog dedicated to text editing and general exploration of computing knowledge

Friday, March 7, 2008

SCP'ing

You can use Vim to edit a file on a remote machine running ssh/scp very easily.

vim scp://username@hostname.com:port//some/file

You have to authenticate as usual, but it can be handy for a quick hack. Also, other protocols besides scp are supported. Try :help scp for more info.
Posted by Travis Whitton at 2:50 PM
Labels: scp, vim

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Donate

Donate Bitcoins

Blog Archive

  • ►  2014 (3)
    • ►  January (3)
  • ►  2013 (14)
    • ►  December (2)
    • ►  November (6)
    • ►  October (6)
  • ►  2009 (74)
    • ►  December (4)
    • ►  November (18)
    • ►  October (6)
    • ►  September (3)
    • ►  July (2)
    • ►  June (10)
    • ►  May (1)
    • ►  April (9)
    • ►  March (6)
    • ►  February (3)
    • ►  January (12)
  • ▼  2008 (143)
    • ►  December (6)
    • ►  November (5)
    • ►  October (6)
    • ►  September (15)
    • ►  August (25)
    • ►  July (6)
    • ►  June (16)
    • ►  May (15)
    • ►  April (22)
    • ▼  March (16)
      • Brace Expansion
      • Sort + De-dupe? Easy.
      • Screen Tips
      • Piping Buffers
      • Perl Mass Substitution
      • Drag Windows From Anywhere
      • PHP Test Trick
      • Remote Port Forwarding over SSH
      • Tar + SSH
      • Reading STDIN
      • Vi Compatible Shell
      • Using xargs
      • Expanding Scope
      • SCP'ing
      • Tree Explorer
      • Delete Lines Matching Keyword
    • ►  February (9)
    • ►  January (2)
  • ►  2007 (20)
    • ►  December (4)
    • ►  November (16)

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments