help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Dired command on same host


From: Tassilo Horn
Subject: Re: Dired command on same host
Date: Tue, 04 Jan 2022 20:35:05 +0100
User-agent: mu4e 1.7.5; emacs 29.0.50

Michael Albinus <michael.albinus@gmx.de> writes:

>> I have in my init a (simple) function that does this out-of-band scp
>> but I think that the most tricky parts (for something general pupose)
>> are:
>>     - how host A understand host B name?
>>     - is host B reachable from host A?
>
> Must be checked, yes. But this isn't a problem for Tramp. It keeps
> shell sessions on both host A and host B, a simple "ssh -q -o
> ConnectTimeout=1 B exit 2>/dev/null" on host A would tell us whether
> host B is reachable

Sorry if that question just illustrates that I don't know how Tramp
works but: is it ensured that the host B on A is the same as B on my
local machine?  Like I could have different hosts defined as B in my
local /etc/hosts and the one on A.

Bye,
Tassilo



reply via email to

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