Questions tagged [tramp]

tramp stands for Transparent Remote Access - Multiple Protocols, an Emacs module that allows remote editing of files.

184 questions
2
votes
1 answer

Stop tramp from opening remote directories when using ido-mode

I have a problem with ido-mode. As I cycle through work directories (using M-n), one of the directories is inevitably on a remote server, which makes tramp start authenticating. I know I can edit the ido-work-directory-list-ignore-regexps variable,…
Justin Blank
  • 1,768
  • 1
  • 15
  • 32
2
votes
0 answers

call a program from local terminal while in an ssh session

Is there some way to call on a local program while using an ssh connection to a remote host? I'd like to have access to the environment on both sessions, so opening another terminal isn't ideal. Edit: specifically the uses would center around scp…
Shep
  • 7,990
  • 8
  • 49
  • 71
1
vote
1 answer

Emacs Tramp w/ pscp/plink on Windows

I'm trying to set up emacs for editing files on my private server from our Win7 machines at school. I have set up emacs, changed the default method in .emacs: (setq tramp-default-method "pscp") and downloaded pscp & plink. The problem is, I can't…
Ben Schäffner
  • 340
  • 2
  • 12
1
vote
2 answers

Emacs Tramp - How to edit files using Tramp as another user in a remote host?

I have only one user (say "goodk") that can accept SSH connections. So, I am not able to use Tramp to edit files which are accessible to other users than the one that accepts SSH connection. How can I achieve this? How I do this currently: I use…
Sabya
  • 11,534
  • 17
  • 67
  • 94
1
vote
0 answers

Emacs Tramp access to AWS SageMaker instance

I do machine learning code development on an AWS SageMaker instance, and would like to make use of Emacs/Tramp†. My question: how, if at all, could that be done? I strongly suspect that some knowledge about security protocols / IAM roles, etc.,…
user3897315
  • 487
  • 2
  • 5
  • 14
1
vote
1 answer

Tramp: hangs with "found remote shell prompt", got run nil "/bin:/usr/bin" repeatedly in debug buffer

I tried to use Tramp on MacOS with the Emacs downloaded from http://emacsformacosx.com/ and the versions are: Emacs: 26.3 Tramp: 2.3.5.26.3 When I connect to a ubuntu server, Tramp always hang after showing "found remote shell prompt". I set verbose…
1
vote
1 answer

Magit cannot find locally installed git version

I am trying to use Magit and TRAMP together in order to access git repositories on a server from a macOS laptop. The server has git 1.7.12 as default, which is below the required version by Magit. I have installed git 2.9.5 to /my/local/path/bin I…
Charmander35
  • 115
  • 1
  • 11
1
vote
1 answer

emacs Tramp on Windows: plink says /bin/sh: env: command not found

Using emacs Tramp on Windows, I am trying to remotely log in to a windows PC. It issues following plink command which fails (both on emacs and cmd.exe) While putty gives me a session. I would want to use it via emacs. What do I need to do to make…
vijiboy
  • 584
  • 11
  • 25
1
vote
1 answer

Passing -X argument for ssh with emacs and tramp

I am using emacs ess and tramp to remotely execute some R script. I typically have an R script on a server, and I run it interactively on my server, through emacs. This work all well and fine. However I can not manage to have the plot windows…
z_fly_away
  • 37
  • 12
1
vote
1 answer

How do I reset Windows Emacs Tramp?

Does Emacs Tramp on Windows store all of its information within the .emacs.d\tramp file, or are there other locations where it reads data upon startup? I want to completely reset all the information Emacs Tramp remembers as part of debugging how…
1
vote
1 answer

Emacs TRAMP mode doesn't work (Every file I open is empty)

I used TRAMP mode quite a lot in the last few days. But now it suddenly stopped working. Whenever I attempt to access a remote file, emacs freezes for about a minute and when the file opens, it's always empty. My emacs version is: GNU Emacs 24.5.1…
frmsaul
  • 1,366
  • 2
  • 12
  • 19
1
vote
2 answers

Locate and open remote files

In emacs, the locate command provides a way to run unix's locate and open files on the local filesystem. I'm using TRAMP to access remote files - is it possible to use emacs' locate to find and open remote files?
Hatshepsut
  • 5,962
  • 8
  • 44
  • 80
1
vote
1 answer

Emacs tramp errors

When I try to open a file on another machine using tramp 2.1.9, it logs me into the machine and shows the file, but then this appears in the minibuffer: File mode specification error: (wrong-number-of-arguments #[(filename)…
kris
  • 23,024
  • 10
  • 70
  • 79
1
vote
1 answer

Emacs with Tramp mode

After doing TONS of research on every stack overflow question there is and every page that google pulls up on the subject, I am unable to get sudo to work in Emacs with Tramp mode. (Yes, I have read all the 'duplicate' questions here on stack…
Kawili-wili
  • 439
  • 5
  • 16
1
vote
1 answer

How can I edit or insert a local file when using Tramp on Emacs?

I've been using Centos 7 Emacs Tramp mode to edit files remotely, but I can't find how to insert a local file into a remote file. I tried opening the local file first, but I think there must be a better way to do this. Thanks for your help.
Ed Bernal
  • 299
  • 2
  • 5