Questions tagged [tramp]

An Emacs package which provides a consistent interface for transparent editing of remotely hosted files across a wide range of protocols.

Filter by
Sorted by
Tagged with
1
vote
0answers
137 views

TRAMP constantly re-opens connection over ssh

I'm attempting to use TRAMP to for editing files remotely with Emacs (v 26.1), but I'm finding that it's nearly impossible to work without the connection constantly being re-established. This makes it ...
2
votes
0answers
449 views

How to disable auto-save in emacs only for files opened as root

I want to use emacs auto-save feature with tramp, but only for file that I don't open using sudo. My current configuration, based on the tramp documentation, looks like this: ;;;;;;;; BAKUCP ;;;;;;;; ...
1
vote
1answer
737 views

Connect to shared drive from Emacs on Windows 7

I am using emacs-w32.exe, invoked from Cygwin, on a Windows 7 machine. I'm trying to connect to a shared drive that I can otherwise access and write to (e.g., by using the Windows explorer), but I am ...
1
vote
2answers
490 views

Tramp Issue in Emacs 24.4 Installed through Homebrew

I recently installed Emacs 24.4 through homebrew through the command brew install emacs --cocoa I need to edit the files in a remote cluster with two step authentication. To do this I save the login ...
6
votes
4answers
6k views

Directly open remote shell with tramp in emacs

I find that the best to run my shells in remote machines in emacs is using TRAMP (using the ssh command in a local shell does not work for my needs). However, I only know how to run a TRAMP shell if I ...
0
votes
1answer
473 views

emacs tramp working with gnome-keyring-daemon

Right now I have gnome-keyring-daemon set to start at login. If I run emacs -q and then open a file on a server using M-x find-file and then enter a file on a remote server such as /ssh:user@server:/...
0
votes
1answer
161 views

Emacs tramp, version control and toggle-read-only

When using emacs 24 w/tramp on remotely RCS-controlled files, the toggle-read-only function (^X^Q) does not issue the usual "This file is under version control, blah, blah". Instead it flips the ...
1
vote
0answers
935 views

Emacs24: tramp does not work with plink anymore

I have been using Emacs+tramp+plink to edit files on remote Unix server since Emacs 22. Recently I upgraded my Emacs to 24, and found it no longer works any more ... it says it found remote shell ...
1
vote
0answers
188 views

Emacs TRAMP not activated with Dired

I've been using TRAMP for a few days now. It works very well for the most part. I can load a remote shell using M-x shell, and ido-mode with find-file works very well remotely as well, which was ...
1
vote
4answers
757 views

Emacs tramp mode - filename auto complete doesn't work

I am using tramp mode in Emacs to edit files over ssh. But the problem is that on remote shell I have aliased ls as "ls --color". Tramp uses ls for auto completion and it is unable to parse color ...
6
votes
1answer
2k views

How to specify for emacs tramp which remote shell to open?

Besides opening remote files, tramp can be used to run a remote shell. Unfortunately, there is a problem. On a local machine i have zsh and on remote server only bash is installed. Issuing M-x shell ...
9
votes
1answer
4k views

How do you copy files from a remote server to a local folder in emacs using dired/tramp?

When I use tramp to open a remote directory (say C-x C-f /ssh:user@example:/somedirectory), it opens up a dired buffer for that remote directory. The problem is that I want to copy directories and or ...
5
votes
1answer
3k views

Slow TRAMP mode in Emacs

How can I make Emacs TRAMP mode faster? I have ControlMaster auto in my SSH config, and it is working: $ time ssh -v debel echo foo OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading ...
5
votes
1answer
434 views

OSX Emacs FTP Failing

I use Emacs from Bash. I use C-x C-f to FTP into servers, to work on files. From my OSX (10.6.x), I can connect to all of my servers, but one. From Ubuntu, I can connect to all of my servers, period. ...
3
votes
1answer
731 views

Changing the auto-save frequency when editing files via Tramp / SSH

I am using Emacs (23.3.1) with Tramp to edit files on a remote SSH server. Right now these files are being auto-saved / auto-uploaded about once every minute. During each upload, anything I type does ...
0
votes
1answer
528 views

Emacs: Prevent TRAMP connection closing

I'm using emacs with TRAMP ( C-x C-f /ftp:user@site.com:/ ), and randomly, sometimes ten minutes, sometimes, ~12 seconds (no exaggerating) my connection will close (I think). I'll try to type, or list ...
7
votes
2answers
2k views

How can I tell Emacs TRAMP to use specific arguments to ssh?

I'm trying to set up my Emacs TRAMP to access remote files via ssh, and I would like to add some additional arguments to the ssh command that tramp uses for connecting. Is there a way to do this? I ...
2
votes
1answer
1k views

How can I make Emacs TRAMP offer completions from my ~/.ssh/config?

When I want to access remote files over sftp in Emacs using TRAMP, I would like Emacs to offer me completions from the hostnames in my ssh config. How can I do this? For example, if I have two hosts ...
3
votes
3answers
2k views

How to troubleshoot Aquamacs / Emacs - Problems opening files with TRAMP

How to troubleshoot Aquamacs, or I guess standard Emacs troubleshooting techniques should work with Aquamacs too. In this case i'd want just to raise the logging level, but i'm interested in other ...
4
votes
3answers
5k views

Tramp: Waiting for prompts from remote shell

I have an issue with tramp against a specific host when I use ssh-keys for authentication. It works fine when I don't use ssh-key authentication, but I would like to prevent entering the password all ...