[Top][All Lists]

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

Re: Basic questions about using Tramp

From: Michael Albinus
Subject: Re: Basic questions about using Tramp
Date: Sun, 05 Mar 2023 09:52:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

David Karr <> writes:

Hi David,

> I heard about Tramp a long time ago, but I never had a big need for
> it.  Based on what I want to do now, it seems reasonable to see if
> Tramp can make this a little easier for me. I'd like to see if I can
> use tramp, or some variation, to create shell windows to the jump
> server and to the second host, but I'd also like to be able to open
> the files created on the second host in Emacs on my desktop.

This should be possible.

> I verified that I can ssh to the jump server (no password required) in
> a mintty window.  In my Emacs, I tried a simple test of trying to
> edit:
>     /ssh:<myuserid>@<hostname>:/home/<myuserid>/.bash_profile
> This seems to freeze and take a long time, but then finally fails with
> "Timeout reached".  I also tried to view the "*tramp/ssh ..." buffer,
> but it was empty.

There are some hurdles which could prevent Tramp from working. Password
ping-pong, fancy shell prompts, whatever. Please call

--8<---------------cut here---------------start------------->8---
# emacs -Q -l tramp --eval '(setq tramp-verbose 10)' 
--8<---------------cut here---------------end--------------->8---

Tramp understands the tilde "~", so I've shorten the example file name a
little bit.

There will be a buffer *debug tramp/ssh myuserid@hostname*. Please send
this as attachment for analysis.

Best regards, Michael.

reply via email to

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