Questions tagged [tramp]

TRAMP is ‘Transparent Remote (file) Access, Multiple Protocol’ for editing remote files from Emacs.

Filter by
Sorted by
Tagged with
1
vote
1answer
14 views

Tell ESS to use a different R program when on a Tramp remote session

I'm trying to configure ESS to use a different R program path when I'm on a remote session. Now, every time I ssh into the hpc cluster I use, I set the variable inferior-ess-R-program to /weird/path/...
1
vote
1answer
26 views

Which `ls` program is used when running dired over tramp?

How does dired determine which ls program to use when running over tramp? I couldn't find it anywhere in the document. If it is insert-directory-program, what would it do if the path doesn't exist on ...
1
vote
1answer
31 views

does tramp mode look at .dir-locals

I'm using emacs over tramp to edit a project inside a vm on my local machine. It has something like this: ssh:vm:~/projects/project/.dir-locals.el ssh:vm:~/projects/project/src/tests/file-i'm-editing....
1
vote
0answers
28 views

SSH connects, TRAMP doesn't

this is a lot like the issue described here already. It seems like the fancy prompt issue, however, I've tried to use sshx which I was told would solve this issue. I an wondering if anyone else have ...
0
votes
1answer
22 views

tramp mode on Ubuntu hangs while attempting ssh to 0.0.0.1

With emacs 25.2.2 on Ubuntu 18.04, if I try opening a file over ssh using a path such as /ssh:somehost.example.com:/tmp/testfile, it launches a sub-process that does: /usr/bin/ssh -o ControlPath=%C 0....
0
votes
0answers
44 views

terminal mode (with -nw) vs gui mode

Now I read lots of good stuff about spacemacs and want to try it out. I like the way iterm2 separates hosts/projects cleanly. Can I use iterm2 + spacemacs (maybe in terminal mode?) Or do I lose most ...
0
votes
1answer
38 views

ggtags does not play well with tramp — emacs freezes multiple times

I've recently started to use tramp to edit a codebase that's two ssh hops away from me I was initially very happy with the experience, given how transparent everything was. I use magit and ggtags and, ...
1
vote
1answer
42 views

Why can't TRAMP assume current host for `sudo::`?

Are there any technical reasons or use cases for why sudo:: in TRAMP cannot use the rightmost host to the left of it, instead of localhost? When I do /ssh:myname@my-remote-hostname.example.com|sudo::/...
0
votes
0answers
77 views

Flycheck Trouble with Tramp and Python: “no module named /ssh:…/home/ubuntu/test.py”

Hi and thank You for helping! Overview I run a Linux Container (Guest) on my Machine (Host). On this guest I installed python3. Too, there I have a file "test.py". I edit this file via Emacs ...
0
votes
2answers
51 views

Unable to find files with ssh and environment variables

I have installed exec-path-from-shell as well as included the following in my init.el (when (memq window-system '(mac ns x)) (exec-path-from-shell-initialize)) within my ~/.bash_profile I have ...
1
vote
0answers
38 views

Tramp can't connect - cannot find ssh

I am trying to use Tramp, but it seems unable to execute the ssh command. Here is the error from *Messages*: Tramp: Opening connection for AWS2 using ssh... Word wrapping enabled Tramp: Sending ...
0
votes
0answers
55 views

Why is `git` running incredibly slow with `tramp` and `ssh` and `eshell`

Commands like ls, cd, etc. run perfectly fine using tramp, but as soon as I run a command such as git status, the speed is unbearably slow, and I always receive these messages in the *messages* buffer:...
2
votes
1answer
36 views

Dired doesn't open non-text files with external applications in a Tramp directory listing

In Dired I'm in a Tramp directory opened with /sftp:... (so using the gvfs backend). If I use & to open a non-text file with a local external application (ex. evince for PDF) it doesn't do ...
2
votes
1answer
48 views

Tramp `find-dired`: wrong type argument error

If i use find-dired in a remote directory (from Tramp) then I get a wrong type argument: processp, nil error. It works on a local dir. All I pass to find is '-iname "blah"'. /sftp:andreaz@10.0.0.99:...
0
votes
0answers
28 views

Tramp su seems to not work

I would like to upgrade my current workflow so I can use Emacs to edit a file on a remote machine. Here is what I have to do now: ssh remote # password1 required sudo su -l otheruser # password2 ...
1
vote
1answer
94 views

Separate auth-sources for Tramp and Gnus, or disable auth-sources for Tramp?

I have passwords stored in .authinfo.gpg file which I only need for Gnus. I never store passwords for machines or localhost in this .authinfo.gpg file (or in any other file). The problem is when I ...
0
votes
0answers
25 views

ido-mode breaks docker-tramp completion in minibuffer, and opens wrong files

Somehow the following minimal emacs config breaks docker-tramp. Completion in the mini-buffer does not work for /docker:, nor the container ids/names like /docker:43893ad331df, and once you type out ...
0
votes
1answer
35 views

clang-format-buffer with tramp doesn't actually format buffer

I'm using tramp to edit files on a remote machine, and when I run clang-format-buffer, it doesn't actually format the buffer. I get a message (clang-format: success) in the minibuffer, but the ...
3
votes
2answers
62 views

Using tramp and ESS-mode, how can I get the R interpreter to execute locally?

I use tramp to edit R files on a remote server. When I evaluate R code within ESS-mode, it starts an R interpreter on the remote machine. However, at the moment ssh -X to the server does not work, so ...
2
votes
1answer
40 views

RCS Version Control on Tramp Mode

Began using RCS Version Control within Emacs with no problem while locally, but having dificulty on Tramp mode, once it says: Debugger entered--Lisp error: (error "This file is already registered") ...
1
vote
1answer
52 views

Function `cd` not working correctly in conjunction with `tramp` and `compile`

For context I am looking at a remote file; for example: /ssh:desktop:/home/user/project/src/file.cpp. I then issue the interactive command compile like so: cd /ssh:desktop:/home/user/project/Release &...
1
vote
0answers
41 views

How to disable tramp autosave and backups, but keep other backups/autosave?

I'd like to disable autosaves and backups when using tramp, because I neither want to save stuff from remote machines nor stuff belonging to root in my backup/autosave directory. How to do that? I ...
0
votes
1answer
29 views

How to make Tramp execute only if address is reachable?

So I have a couple of VM I'm using (mainly for experiment) I use Tramp a lot on a particular file in the VM, so I started to use this: (find-file "/ssh:vm@192.168.122.141:/home/vm/test.org" t) I put ...
0
votes
1answer
29 views

Tramp is operating on host filesystem instead of container filesystem

I'm using a slightly modified version of the usual docker tramp integration (below) which works fine to complete up to /docker:container_name: but where it goes wrong is it opens files on the host ...
0
votes
1answer
34 views

Use tramp to play remote videos on the local

I use tramp to access my phone through termux and locates the Movies directory /ssh:termux:/storage/emulated/0/Movies: total 162M Superbook - In The Beginning - Season 1 Episode 1 - Full ...
0
votes
1answer
52 views

Default shell path with Tramp from MacOS to Linux

I have a local environment which is MacOS Catalina and a remote environment which is standard Linux. I use tramp to connect to the remote linux machine to work on it. Unfortunately, Catalina now ...
0
votes
1answer
29 views

tramp: $INSIDE_EMACS isn't defined while .bashrc is processed

It seems INSIDE_EMACS can be used to determine if tramp is used. I know I could use test "$TERM" = "dumb" but if [[ -z $INSIDE_EMACS ]]; then is provided by the home-manager tool. If I set tramp-...
0
votes
0answers
28 views

Opening a Remote Shell Renames Buffer Open to \*shell\*

here is a simple elisp program for opening a shell in a named buffer: (defun shell-make (dir buffer-name) (let* ((default-directory dir) (buffer (get-buffer-create buffer-name))) (set-...
1
vote
1answer
139 views

Accessing google drive with tramp in emacs 25

I'm trying to access my google drive from within emacs. According to this, that's possible with emacs 26. Based on the tramp 2.4.3 manual I think that's because emacs 26 comes with version 2.4.3 of ...
2
votes
1answer
45 views

how to show local file listings with C-x C-f through IVY when starting in a remote file buffer

System: Mac OSX catalina Emacs: 26.3 I use Ivy as my completion framework. Problem is when I am editing a remote buffer over ssh using Tramp, and then I want to look at a file on my local machine. ...
0
votes
1answer
85 views

disable company-mode when editing C++ over tramp

When editing Python files over tramp, elpy continues to use my local python distribution for completion, which is fine by be for what I need. However, when editing C++, it uses clang output from the ...
0
votes
2answers
61 views

tramp — open shell prompt for existing connection

i started using the eldritch and mysterious tramp again because a user on here helped me fix it. (thanks michael: tramp runs on odt export --). i create org mode links to my commonly-used remote conf ...
4
votes
1answer
268 views

How can emacs org-mode execute shell code remotely as sudo?

My self-documenting maintainance scripts, where I document how systems have been setup, I need to execute stuff as sudo/root and want the results automatically added to the document. But for safety ...
0
votes
1answer
37 views

Using `dired-do-compress-to` with `tramp`

Within a eamcs -q session and in a tramp dired buffer and call dired-do-compress-to on a file, I got this eror zip I/O error: No such file or directory zip error: Could not create output file (/ssh:...
0
votes
1answer
38 views

tramp runs on odt export --

this is slightly embarrassing, but i'm confused about it so: i run emacs 26.1, org 9.3. when i use the org exporter to export a file to odt format, tramp fires up and runs on the newly created file. ...
2
votes
2answers
54 views

How to Visualize Transfer Rate In TRAMP Mode File Transfer

Any idea on how could be enabled a progress bar and/or speed rate metter on TRAMP mode file transfer? Trying to manage TRAMP transfer mode via scp instead of ssh to seek avoidance base64 conversion, ...
0
votes
0answers
14 views

How fix freeze when work with google drive?

Emacs 26.1 Linux Mint 19 I use Tramp mode to work with my Google drive. But has any problems: Very long open remote file When edit remote file it's often "freeze". File saving takes a long time ...
1
vote
1answer
84 views

using tramp over aws ssm proxycommand

I'm trying to get tramp to use my ProxyCommand from my ~/.ssh/config (pasted below), specifically for AWS SSM. Should I expect this ProxyCommand to work, maybe something is wrong with my environment ...
1
vote
1answer
30 views

Using TRAMP through CyberArk Privileged Session Manager

Normally it is very easy to convert ssh and scp commands into tramp format for access via dired. For example The command line ssh username@hostname will become /ssh:username@hostname: in ...
0
votes
2answers
362 views

TRAMP on Emacs 26 doesn't work (macOS)

I've just installed Emacs 26.3 on my macOS 10.10 (Yosemite) using the binary at Emacs for OSX Everything so far works fine icluding new package installations and different themes. However, when I ...
0
votes
1answer
28 views

change the privileges of opening a file when it has already jumped to a remote host using tramp

Good afternoon. To visit the local sudo privilege file, I use the tramp command: Ctr+f //sudo::/путьКфайлу Is it possible to open a remote file with sudo privileges if emacs already uses tramp, and ...
0
votes
1answer
54 views

Tramp, transfer configuration file

To establish an ssh connection, I use the configuration file.;ssh remoteHost -F /home/alamd/ПакетыДоступа/root_91_211_249_142/config. Is it possible to transfer ssh connection settings from such a ...
1
vote
1answer
144 views

rewrite relative or absolute path from inherited tramp ssh property with org-babel

I define a global remote session for all my sh block code with properties :PROPERTIES :HEADER-ARGS:bash: :dir /ssh:xxx@myvm:/home/xxx/ :END: In my other bash blocks, I inherit this property, but ...
1
vote
1answer
133 views

Org Mobile staging area with a WebDAV: Unable to set 'org-mobile-directory' with TRAMP

I have a working Owncloud server, and I would like to use Org Mobile to sync my Org files with my phone. Following "Setting up the staging area" in the info doc for Org Mobile, I have customized the ...
1
vote
1answer
61 views

How to make gdb mode send proper filename to gdbserver? Running gdb from pure terminal works

I am trying to debug an application on a remote environment. Ofcourse running Tramp over gdb works as in https://www.gnu.org/software/emacs/manual/html_node/tramp/Remote-processes.html, but you miss ...
2
votes
1answer
47 views

How to resolve TRAMP spamming empty messages

Connecting to a remote machine with tramp that may have VC (subversion) related files, I tend to see a large number of repeated messages in the *Messages* buffer. For example: Type "q" in help ...
0
votes
0answers
18 views

IDO find file stay in TRAMP

When going to M-x ido-find-file then going to sudo /sudo::/ I can browse files as root but if I enter // or ~ it escapes TRAMP. How do I prevent it?
2
votes
0answers
72 views

Random freezes with `error in process filter: Quit`

I'm getting random freezes with the error message: error in process filter: Quit. I'm using tramp-mode with emacs 26.1 on macOS. It seems to maybe be linked to typing symbol characters like %, $, etc. ...
3
votes
1answer
143 views

Are there TRAMP mode log files? If so, how to access them?

Having here some troubles with TRAMP mode and already set (customize-set-variable 'tramp-verbose 6 "Enable remote command traces") in .emacs file. But main problem is that Emacs is stuck in TRAMP ...
1
vote
2answers
69 views

Cannot open remote file with TRAMP

I'm trying to connect and edit files on my openwrt box. But every time I tried Emacs shows me a blank buffer. C-x C-f /ssh:user:192.168.200.1:/etc/config/network RET the filesystem on openwrt cat /...

1
2 3 4 5 6