Not long ago, Wade Preston Shearer proclaimed...
>  Is it possible to open a file on remote server as if it were local?  
> For example, you can SSH into a different box and then read the  
> contents of a file with vi, but is there a way view the file in one  
> step without SSH-ing into the remote box first? Can this be done with  
> tunneling?

Gabe already mentioned the FUSE SSHFS method. I like it because it's nice
and transparent.

If you use vim (like a good little hacker), you can use the 'netrw'
functionality which has been included as a standard feature since vim v6...
even on Windows!

This lets you do things like this:

    vim scp://[EMAIL PROTECTED]/path/to/file.pl

or:

    vim ftp://[EMAIL PROTECTED]/path/to/file.c

This awesome little vim plugin gives you access to remote files via SCP,
SFTP, DAV, FTP, HTTP, RSYNC, and RCP (Why, diety-of-choice, WHY?!)

You can also browse remote directories with netrw too.

For more info: <http://vimdoc.sourceforge.net/htmldoc/pi_netrw.html>


-- 
[EMAIL PROTECTED] is Doran L. Barton, president/CTO, Iodynamics LLC
Iodynamics: IT and Web services by Linux/Open Source specialists
 "Do not turn upside down."
    -- Seen on the bottom of a prepackaged dessert

Attachment: pgp0CeRGVDkvw.pgp
Description: PGP signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to