Questions tagged [tramp]

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

184 questions
2
votes
0 answers

How can I get emacs (using TRAMP) to edit/save a file on a WebDAV share?

So I've got a WebDAV share on a virtual machine that I'm running on my laptop. I want to connect to it via emacs, edit a file, then save it. Unfortunately, TRAMP keeps giving me an error whenever I try to connect to the file. The error is "Host…
Lee Crabtree
  • 1,196
  • 2
  • 12
  • 30
2
votes
1 answer

Current folder on remote folder in Emacs shell is gibberish

When I connect to remote machine with Emacs (using tramp) and then open shell, Emacs opens the shell on the remote machine and I instead of pwd I get a bunch of numbers and strings. How can I fix this? I'm using Emacs 23.3.1 on Fedora 16 This is…
Yotam
  • 10,295
  • 30
  • 88
  • 128
2
votes
2 answers

Emacs Tramp unable to open directory at times

Normally I am able to use tramp just fine to edit files and browse through the remote file system through SSH. Though at seemingly random times I would lose the ability to browse remote folders in emacs. I get the error message: Wrong type…
latca
  • 133
  • 7
2
votes
0 answers

emacs/doom how can I debug hanging TRAMP

I am trying to access a machine on my network I can ssh (with some important setup in ~/.ssh/config) into easily, however I am getting timeouts, when I try it with SPC-f-f /ssh:my_machine -> hang! After a while and some heavy usage of my CPU it…
Jan
  • 6,532
  • 9
  • 37
  • 48
2
votes
1 answer

Rewriting path prefixes on file open or in compile-mode next-error

I want any paths under t/... to be rewritten to n/... instead, for find-file in general (or just as initiated by next-error). I want it to be impossible for me to open the t/... version. Motivation: I've been rsyncing a codebase from NFS (where I…
Jonathan Graehl
  • 9,182
  • 36
  • 40
2
votes
1 answer

EventMachine pause to wait for response

Okay i have code that using Cramp\Tramp => EventMachine under the hood. Code: class RetrieveController < ApplicationController on_start :retrieve_messages #nonimportant stuff def receive_messages #other stuff @current_user = false …
2
votes
1 answer

Trouble with Emacs Tramp when trying to sudo access remote file

In Emacs25 I used the recommended syntax to open a remote file in sudo mode: find-file "/ssh:ichiban@izu|sudo:ichiban@izu:~/ but Emacs just hangs. I set some degging settings in my .emacs file: (require 'tramp) ;(setq tramp-debug-buffer t) (setq…
Craig Hicks
  • 2,199
  • 20
  • 35
2
votes
1 answer

Emacs shell-command equivalent with tramp-mode

In emacs, I can do something like this interactively: M-x eshell cd /sudo:privileged@myserver: /path/to/mycommand That's pleasant and everything, but I'd really like to be able to do something like this in elisp code, as part of a function…
JasonTrue
  • 19,244
  • 4
  • 34
  • 61
2
votes
2 answers

How do I change the command sent by TRAMP in Emacs when using plink on Windows?

I have the following in my .emacs: (require 'tramp) (setq tramp-default-method "plink") When I run C-x C-f /plink:some_session:/ in Emacs where some_session is a defined session in PuTTY (which has all information saved such as location of private…
vab2048
  • 1,065
  • 8
  • 21
2
votes
2 answers

eshell TRAMP find remote file with relative path (or at least less than the full Tramp path)?

I love eshell's TRAMP integration. With it I can do cd /ssh:foo:/etc to ssh into a remote machine and visit its /etc/ directory. I can also do find-file motd to open this file in my local emacs. However, what if I need to use sudo to change the…
Stig Brautaset
  • 2,602
  • 1
  • 22
  • 39
2
votes
1 answer

tramp never stops asking for password

I've having serious trouble using tramp on Emacs. I am continuously being asked for my password when I ssh into a server via tramp. This is to the point where it blocks me being able to do anything. I have looked far and wide on the internet and the…
Cain
  • 191
  • 3
  • 13
2
votes
1 answer

Emacs TRAMP - find-file can't enter user

I've recently upgrading to emacs 24.5 with TRAMP 2.2.12. I use plink to access files on a remote server and am having trouble using the ampersand syntax shortcut to enter a different user than my default. Problem Executing: 'C-x C-f' /user@server:…
devshans
  • 75
  • 4
2
votes
1 answer

How do I log history in a tramp emacs ssh session

I started using tramp with emacs as per the discussion here (Open file via SSH and Sudo with Emacs) in order to use my emacs configs without having to install them on the server/user I was sshing to. Apparently the default setting of this sets…
Andrew
  • 6,295
  • 11
  • 56
  • 95
2
votes
1 answer

Couldn't find exit status "test -e ... " on Solaris based remote server

When opening some files on a remote Solaris server through emacs-tramp I get this error: Couldn't find exit status "test -e 'file path'..." And then the file opens as "Fundamental" without figuring out the type (C++/C/verilog...etc) so no…
SFbay007
  • 1,917
  • 1
  • 20
  • 39
2
votes
1 answer

Cannot execute remote binary file in eshell

I connected Emacs to a virtual machine via Eshell, using Tramp. I tried to execute a binary file at the current directory, but Eshell cannot see that file, even though it is right there. The output returned is like…
Amumu
  • 17,924
  • 31
  • 84
  • 131