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
15 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
15 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
27 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 ...
2
votes
1answer
77 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
27 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
32 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. ...
1
vote
1answer
30 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
12 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
26 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
26 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
87 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
23 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
51 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
88 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 ...
0
votes
1answer
51 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
49 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
35 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
11 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?
1
vote
0answers
37 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. ...
2
votes
1answer
82 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
42 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 /...
2
votes
2answers
86 views

TRAMP mode hangs while copy large file from remote to local via Ssh

Trying here to download (scp file from remote to local) that was considered large file, then Emacs tried to compact it, then got stuck. Even used scp command to do it because copying via ssh got ...
0
votes
1answer
131 views

Using dired via tramp on a remote machine

Maybe I am missing something rather simple but I completely fail to use dired on a remote machine. I can connect via ssh directly without emacs and I can edited a file using Tramp on the remote ...
0
votes
1answer
56 views

Tramp x11 on Mac os (local) , centos (remote)

I understand that I should be able to use X11 to show graphs from a remote R when I use a local emacs to connect to the remote machine with tramp. I have tried a few different things but can not get ...
0
votes
0answers
16 views

Wrong file permissions after saving changes with tramp sftp

I have been editing files on a remote server with sftp via tramp. When I save the files it changes the original file permissions (644) to 600. I have been using tramp for a while and not run into this ...
0
votes
0answers
76 views

Emacs Consistently Crashes when Scrolling Remote Files using Tramp

Whenever I scroll using the trackpad in a remote file, Emacs consistently crashes. (Also, other things crash Emacs in remote files, but this is the most common one I've come across) I have tried ...
0
votes
0answers
61 views

How to disable eldoc when using TRAMP (editing files over SSH)

Eldoc really bogs down the editor when used over SSH with TRAMP. I want to disable it in those cases. What I've tried is this: (defun no-tramp-eldoc () (interactive) (when (string-prefix-p "...
1
vote
0answers
64 views

Disable ispell when using Tramp

In my Spacemacs, I enabled the spell-checking layer which enables ispell. I noticed that my Tramp connection is very slow, and after debugging, I found that one of the causes is ispell: 02:07:20....
0
votes
1answer
54 views

dired-do-copy in tramp does not go to local when `\ C-j` is pressed. File path stays in the same directory

I am using dired-do-copy to copy a file from remote using tramp to local. When Copy file to path is promted. I used / C-j to go to local path but the path stays in the same directory , does not go to ...
0
votes
0answers
84 views

Getting MacOS Emacs + remote Ubuntu + rtags + company + TRAMP to work?

My development environment works as follows: Working locally on a MacOS laptop with Emacs without a local code repository (or any development tools e.g. clang) Code is remote on an Ubuntu development ...
0
votes
0answers
30 views

Helm expands ~. Is it possible to expand other “aliases” as well?

Apparently anaconda-mode provides eldoc support on remote files, but it kinda breaks TRAMP if the remote file name contains an ssh alias (TRAMP will keep reconnecting over and over). It is ...
0
votes
0answers
45 views

Emacs tramp on chroot directory

I have chroot directory. When I try to open /ssh:web@xxx.xxx.xxx.xxx:/, Emacs returns “Found remote shell prompt on”. From console I login to directory.
1
vote
0answers
337 views

Editing a file with emacs over ssh on remote machine

I am editing configuration files with emacs on remote hosts using ssh connection. It works perfectly. But I recently made RSA keys and now I can connect to these hosts with the keys without password, ...
2
votes
1answer
135 views

Chown with dired over Tramp, from Windows machine

I launch dired over Tramp (from Win machine to Linux server): C-x d /plink:user@server|su:root@server:/path-to-folder-controlled-by-root/ Then I type "O" to chown a folder, but I get chown not ...
0
votes
0answers
24 views

Async Rsync Dired error on tramp file not found

I am trying to copy files from one directory on a remote computer to another directory on the same remote computer. Using Dired I can open up the two directories, mark the files I want to copy and ...
2
votes
0answers
29 views

tramp seems to always use out-of-band methods for a simple copy or rename, despite both files being remote

I noticed a huge slowdown when renaming a remote directory via tramp in dired mode, especially pronounced when the remote host had a slow internet connection. I investigated and saw tramp was first ...
1
vote
0answers
89 views

Use Eshell with Tramp, from a Windows computer to a Linux server

I use a Windows computer to control servers through Tramp (with plink). Here's my setup: (setq explicit-shell-file-name "/bin/bash") (setq default-directory "/plink:user@server:~") Now when I run M-...
0
votes
1answer
22 views

always prompt for default directory when opening interactive subshell

When I invoke C-u M-x shell while visiting a local file or scratch buffer, emacs does not prompt me to enter the default directory for the shell. But if I'm visiting a remote file or directory ...
3
votes
0answers
237 views

Tramp hanging on writing or opening file

Tramp consistently hangs, for me, when opening or writing a remote file. None of the ‘why is Tramp hanging...?’ resources I've found seem to address my situation. What's odd is that this used to ...
1
vote
2answers
123 views

Multi-processing via TRAMP with asynchronous shell commands

I found the following code in TRAMP: (defun tramp-adb-handle-shell-command (command &optional output-buffer error-buffer) "Like `shell-command' for Tramp files." (let* ((asynchronous (...
1
vote
1answer
293 views

tramp-default-method has no effect

I have a config file to setup defaults for tramp. For the purposes of this example foo and bar are hosts defined in /etc/hosts. (require 'tramp) (setq tramp-default-method "ssh") (add-to-list 'tramp-...
0
votes
2answers
536 views

Tramp hangs in “Waiting for prompts from remote shell”

new emacs user here. I'm trying to get tramp to work but can't figure out what's wrong. I do: M-x councel-tramp select /ssh:myserver But I just get "Waiting for prompts from remote shell" and it ...
0
votes
2answers
200 views

How connect to remote machine by private key on Tramp mode?

From my machine Windows 10, I connect to remote Linux machine by private like this (in console) ssh -i d:\Remote\key\privatekey myLogin@some_remote_host success connect: Welcome to Ubuntu 16.04.4 ...
0
votes
1answer
73 views

Magit Tramp not showing diff window

When using magit on a local file, I stage my changes and I then press c and c again to commit. I get a new window showing the diff and a window for the commit message. I write my commit message press ...
0
votes
2answers
120 views

How to create a short name for tramp multihop path?

I connect to various locations, for example: /ssh:hostname|sudo:hostname:/ /ssh:hostname|sudo:hostname|docker:container:/ and want to have some kind of short aliases for these long paths. Something ...
0
votes
0answers
148 views

How to get Emacs use the Ubuntu login password for tramp

Ubuntu 16.04 Emacs 26.1 Emacs needs to open the file with root privileges. Here is my code: (secrets-delete-item "session" "Login") (secrets-create-item "session" "Login" "myParol" :method "sudo" ...
2
votes
1answer
65 views

messages buffer is spammed with tramp

I am connecting regularly to servers via tramp. Sometimes everything works fine but often times my messages buffer gets spammed full of Tramp: Waiting for prompts from remote shell...done Tramp: ...
0
votes
0answers
133 views

tramp hanging on remote fish shell despite tramp-remote-shell being /bin/sh

I can't connect via Tramp to a remote machine since switching to using fish as my default shell. However I have the tramp-remote-shell set for "/bin/sh" but this seems to be only used for interactive ...
1
vote
1answer
127 views

How do I use tramp to launch a remote PowerShell?

I'm trying to launch a PowerShell on a remote Windows system using tramp. So far all I've been able to do is start a PowerShell inside Emacs on the local (Windows) machine. What is the connection ...
0
votes
1answer
544 views

set up custom port for default ssh connection in tramp

I am wondering what is the best way to set up a default port that is not the standard 22 port. I regularly log in with tramp to remote systems and would like to avoid having to put in #1234 every time ...

1
2 3 4 5 6