tramp-devel
[Top][All Lists]
Advanced

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

Quick guide improvements


From: Dan Jacobson
Subject: Quick guide improvements
Date: Wed, 17 Oct 2018 00:06:39 +0800

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.



reply via email to

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