On 3/20/07, Wade Preston Shearer <[EMAIL PROTECTED]> wrote:
  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?


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




If you just want to view a file in one step you can do:

ssh [EMAIL PROTECTED] "cat /etc/hosts"

This works well if you have ssh keypairs. It will display the file and
return you to your local shell immediately.

--
Chris Carey

/*
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