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
2answers
163 views

Tramp remote login with a \ qualified username (escape problems)

I have a remote server I log in to from the command line using either: ssh 'GROUP\user'@host.edu or ssh GROUP\\user@host.edu and it works fine; I've even set up my SSH keys. But I can't figure ...
3
votes
1answer
413 views

Disable company in eshell when using TRAMP

company-mode is awesome. It even works in Eshell. However, when I'm cdd into another host, company mode makes Eshell unusable because it's always hanigng waiting for TRAMP. Is there any way I can ...
0
votes
3answers
845 views

Combining ssh through 'term' with 'tramp' to open file in buffer

Often I ssh onto a remote machine from ansi-term and wish to open various files in Emacs. As I see it, there are two options: emacs -nw filename - hiding the terminal, opening the file in the current ...
12
votes
2answers
4k views

Tramp/Dired transfers files inline over ssh instead of using scp externaly

I am using tramp via ssh to access remote files. For text files, this is working really well, but whenever I want to copy larger remote files to my local machine, tramp uses its slow inline method (...
4
votes
1answer
355 views

Having trouble getting eshell remote shell multi-hop to work

I can get single hop ssh to work just fine: ~ $ cd /ssh:cpatti@wak-prod-jump1:~ /ssh:cpatti@wak-prod-jump1:/home/jumpboxaccess_emergency $ But when I try multi-hop, I get command not found every ...
1
vote
1answer
230 views

tramp-default-method-alist unbound at startup?

Since upgrading to Emacs 24.5 my init file does not load. Starting with the --debug-init option shows that tramp-default-method-alist seems to be unbound: Debugger entered--Lisp error: (void-...
4
votes
1answer
113 views

Install programs which require superuser permissions

I would like to, as part of Emacs Lisp package set-up process to run some programs which typically require superuser access, for instance, I would like to make sure that certain system packages are ...
9
votes
3answers
3k views

Running ipython remotely

I am trying to run an ipython interpreter remotely (with Emacs 24.5 and native python.el), but I'm not sure I have the right approach: whenever I try to run such a command for instance (which gets ...
7
votes
2answers
1k views

.tramp_history files

I have noticed that opening a tramp connection on remote hosts sometimes created a .tramp_history file in the user's directory. Is there any way to disable such a behavior? I have to log in to many ...
12
votes
2answers
870 views

Can Emacs use tramp to run in an interactive session on a remote HPC node?

I have been using Emacs with ESS and tramp to load remote files and run remote R processes on HPC computers. With ssh keys, tramp makes this easy with C-x C-f to find file at /ssh:myserver:/path/to/...
3
votes
1answer
716 views

Using inferior python and tramp together

For the last few weeks, I decide to work directly in a remote server using tramp-mode, with great success and joy. However, recently I decide to add python-mode and an inferior ipython3 sheel to ...
2
votes
1answer
409 views

How to prevent tramp from blocking when entering password?

For my speech recognition mode I have emacs listen asynchronously using make-network-process for messages sent by my python client. If I say anything that should translate to emacs taking an action ...
2
votes
1answer
358 views

Prevent Tramp from asking for a password for passwordless sudo

Opening /sudo::/etc/hosts with tramp prompts for a password even though I have passwordless sudo. I use ido. $ sudo grep NOPASSWD /etc/sudoers %wheel ALL=(ALL) NOPASSWD: ALL Is there any way to fix ...
5
votes
2answers
368 views

Edit file as root over when already using TRAMP

Right now, I have the following in my init (defun my-edit-file-as-root () "Find file as root" (interactive) (find-alternate-file (concat "/su:root@localhost:" buffer-file-name))) (defun my-...
4
votes
1answer
789 views

Remote copy through Dired fails

I am trying to copy a file from a remote folder to a directory on my machine. I use Dired, and this the setup related to Dired in my configuration: (use-package dired :bind (("C-c z" . dired-get-...
4
votes
2answers
89 views

Tell Tramp not to try again if login fails

We have this policy that the account gets locked if a user tries to login with the wrong password for three times. Now if I mistype my password when connecting via tramp, it will try to login several ...
5
votes
2answers
3k views

Tramp: SSH login does not prompt for password

I am trying to use Tramp to log into a server that has no SSH keys, just a password. Unfortunately, upon execution of my /ssh:root@111.111.111.111:~/ command, there is no password prompt and the ...
1
vote
1answer
453 views

Tramp ediff problem MS-DOS style path detected

I'm using tramp to edit files remotely. Now I would like to ediff two files which are at the remote location. The problem is, I get the following warning, which prevents using ediff completely. ...
5
votes
2answers
368 views

Using different theme on tramp buffers (and buffer-related themes in general)?

Is it possible to configure emacs so it uses different theme for tramp buffers than for defaults? Say, I use twilight by default, but while editing sth via ssh I'd like to switch to pastels-on-dark... ...
3
votes
1answer
1k views

Auto-refresh files when using tramp

I am viewing remote log files using tramp mode in emacs. Is there a way to get tramp to auto-refresh these buffers when they change remotely? If this is not possible, is there a way to reload a ...
0
votes
2answers
154 views

Mapping equivalent local files to remote files when using tramp

I have two copies of the same project, one local, one on a remote server, and I am editing a project's file locally, while running an inferior ESS process on the remote server. The remote files get ...
2
votes
0answers
893 views

Helm not working on remote project (Tramp over SSH)

I'm working on a project that is kept on a shared server (server runs Ubuntu 14.04 LTS; my machine runs OS X 10.10.2). I access the server files via Tramp using a password-secured SSH connection. ...
5
votes
2answers
2k views

How to store Tramp passwords permanently

The cache expiry (setq password-cache-expiry nil) works only for the livetime of the emacs client. But I found in the Tramp user manual the possibility to store passwords permanently 5.12.1 ...
9
votes
1answer
2k views

How do I make tramp+eshell use my environment customized in the remote ~/.bash_profile

I have set up custom $PATH in my ~/.bash_profile on a remote machine (for programs installed user-locally by nix and cabal). I use eshell and tramp to issue commands on the remote machine (cd /...
2
votes
1answer
230 views

Tramp file encoding for Unix

I have managed to setup Tramp to connect to a remote Solaris machine from a Windows machine using plink, which is very nice. (setq tramp-default-user "Beginner" tramp-default-host "the_host" ...
4
votes
1answer
2k views

transparently find file over ssh in *shell* directory

I ssh'd into a remote server from shell and tried to open a file on a directory path that also exists on my local system. The list of files I was able to open using helm-find-files was the list on my ...
4
votes
1answer
661 views

Using with-editor

I learned about with-editor in this thread. This is something that I have been looking for a long time. I tried to use it to modify EDITOR and VISUALfollows: I installed it from MELPA, then I open ...
11
votes
2answers
2k views

TRAMP over mosh

Mosh is an alternative to ssh that is generally more resilient. In particular, it can deal with: Extreme packet loss Changing client IPs Temporary connection loss There are few downsides to using it,...
1
vote
2answers
642 views

Get TRAMP working with cygwin sshd

I'm using both the latest Cygwin and the latest (released) Emacs. I'm trying to remote in from a Linux box to a Windows box running a Cygwin configured sshd. I've added this line to the top of my ....
5
votes
1answer
1k views

Eshell doesn't reuse TRAMP connection for remote subprocesses

I was trying to operate on remote host using eshell and was disappointed to discover that majority of operations would hang emacs for several seconds. I found it surprising considering that normally ...
2
votes
1answer
390 views

how to make HELM stop when TRAMP asks me for my password?

I have this problem: Is this a bug? Is this something I can avoid now while a patch comes to Helm?
9
votes
2answers
569 views

Password/Key Management for multiple machines in emacs

I log into numerous machines as part of my job (+- 20 per day). I only spend a few days/weeks with each machine. Many run ftp only. For seamless access Tramp is amazing, but it is the managing of ...
4
votes
1answer
205 views

How can I reset the prompt of my machine before using tramp without having this setting being permanent?

I have a cool looking (at least for me) prompt for my bash shell. This mean that tramp hangs if I try to use sudo to open a file because my prompt looks like something unexpected to tramp. And I ...
12
votes
1answer
699 views

Run application in cwd on remote host from within eshell

I often use Eshell to connect to remote systems. On those remote systems I sometimes want to run scripts in the current working directory. In a regular terminal I'd type this: ./my-script.sh ...
8
votes
1answer
2k views

“terminal is not fully functional” over ssh in a *shell* buffer

I'm using the shell (M-x shell) to connect to a remote host via SSH. After launching some command line tools (mostly psql, the postgresql command line interface, but man would be the same for example),...
9
votes
1answer
366 views

How to prevent tramp locations from interfering in history?

I have an issue where if I try to perform some random Emacs operations such as org-capture, or renaming a file to a different (local) directory in dired, Emacs attempts to contact a different machine ...
6
votes
1answer
795 views

Tramp: killing all buffers

Whenever I use ssh over Tramp to get to my local server (either with dired or pointing directly to a file), another buffer is also created: #<buffer *tramp/ssh user@local_server_address*> When ...
4
votes
1answer
743 views

Efficiently call remote processes

I would like to be able to manage external processes from Emacs, in a way that is: (a) safe w.r.t. arguments escaping for the shell, (b) efficient both for local and remote processes (using TRAMP w/ ...
1
vote
2answers
263 views

dired: is file under point local or remote?

In a dired buffer, how can I determine whether the file under the point, i.e. (dired-get-file-for-visit), is local or remote? Is there something like (dired-local-file-p) or maybe (tramp-local-file-p ...
9
votes
2answers
371 views

How can I download a web page's source from Emacs?

I want to use Emacs as an enhanced way to view the source of a page (say http://example.com). Is there some easy way to download the page directly from Emacs, maybe even through C-x C-f? I remember ...
6
votes
1answer
547 views

ctags over tramp

A lot of things including M-x compile work fine over tramp, but find-tag seems to be the exception: it attempts to jump to a location in a local file. Would someone investigate why it's doing this, ...
45
votes
7answers
3k views

How can I use my local Emacs client as the $EDITOR for remote machines I access over TRAMP?

I often use TRAMP to manage several remote servers, both for editing files and running remote shells in shell-mode. However, this does not work when a command uses the EDITOR variable to edit a file, ...

1 2 3 4 5
6