Web lists-archives.com

Re: text editors




Gian Uberto Lauri [2019-03-27 11:10:39Z] wrote:

> Nevertheless, if a remote box has ssh, finding (C-x C-f) the 
>
> /scp:user@machine:/path/to/the/file
>
> loads the /pat/to/the/file file downloading it from machine. And of
> course you can save it.

Emacs can even do multi hops, editing a remote file in one machine but
the connection is through some other machine(s). An example starting
from shell's command line:

    $ emacs /ssh:user@middle-machine\|ssh:user@target-machine:file


-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature