tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick guide improvements


From: Kai Großjohann
Subject: Re: Quick guide improvements
Date: Thu, 18 Oct 2018 11:02:51 +0200

May I suggest to call it the "simplest" remote file name, instead of the "most simple" remote file name?

Kai


On 16 Oct 2018, at 18:06, Dan Jacobson wrote:

On (info "(tramp) Quick Start Guide")

5.2 Using ‘ssh’ and ‘plink’
===========================

If your local host runs an SSH client, and the remote host runs an SSH
server, the most simple remote file name is
‘/ssh:address@hidden:/path/to/file’. The remote file name ‘/ssh::’ opens a remote connection to yourself on the local host, and is taken often for
testing TRAMP.


SAY INSTEAD:
==========================

If your local host runs an SSH client, and the remote host runs an SSH
server, the most simple remote file name is

‘/ssh:address@hidden:/path/to/file’.

If you have the same username there as here, just use

‘/ssh:example.com:/path/to/file’.

Now as we know,
$ ssh example.com
puts us in our home directory there.

Likewise so does
‘/ssh:example.com:’

Whereas
‘/ssh:example.com:/’
is the root directory there.

(Don't use "::", as the remote file name ‘/ssh::’ opens a remote
connection to yourself on the local host (for testing TRAMP) so
‘/ssh::example.com:/path/to/file’won't reach example.com at all.)

==========================
THANKS!

P.S., this 'quick' guide needs a super quick cheatsheet up front.

_______________________________________________
Tramp-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/tramp-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]