Questions tagged [remote]

68 questions
24
votes
2 answers

Tramp mode is much slower than using terminal to ssh

I am using the Macports flavor of Emacs on OSX Yosemite, and have looked through every thread here on Tramp being slow without any solution. Tramp is usable, but there is about a 100ms delay between every action. It's not a problem on the server's…
m0meni
  • 743
  • 1
  • 6
  • 17
12
votes
2 answers

Use sudo while editing over SSH?

I'm using the C-x C-f option to use SSH to edit a file. The file I'm editing requires my SSH user to use sudo. When I start editing the file it says read-only. How can I remotely edit files requiring sudo?
Philip Kirkbride
  • 557
  • 5
  • 14
11
votes
1 answer

Attach to running remote shell with eshell/TRAMP/dtach

I often use GNU Screen to keep remote sessions alive. Since I live in Emacs, I'd really like to be able to resume a running remote shell session from within Emacs. GNU Screen implements all sorts of fancy things like terminal multiplexing and…
user2005
9
votes
1 answer

Using Tramp for logs

I am trying to use Tramp with auto-revert-tail-mode to perform a tail of a remote log. Every time the log updates (which is often), the screen briefly jumps to the bottom of the file and then back to my current location in the file. Is there a way…
ChaimKut
  • 187
  • 8
7
votes
1 answer

emacs command-line-default-directory variable is not set correctly

I'm using Emacs on Windows. I also have a VirtualBox VM that I connect to using plink. But then, when I use the eshell, and I do cd it tells me No such directory found via CDPATH environment variable even though I started the eshell…
Jenia Ivanov
  • 427
  • 4
  • 14
6
votes
2 answers

How do I use a remote virtual environment with emacs?

My particular setup is that my code lives on my machine and is mounted via vagrant onto a linux container upon which the virtual env lives. I'd like to be able to edit all the code, including the site-packages which live on the LXC seemlessly and…
David Boshton
  • 253
  • 2
  • 11
5
votes
2 answers

Python remote debugging?

How do I debug remote python/twisted code from within Emacs? The closest I got with an internet search was Geben, if I understand correctly, but it has not been maintained for a few years now.
Shai Efrati
  • 151
  • 4
4
votes
2 answers

Fetch configuration from remote (e.g. Github) at startup

I have to work on multiple different machines and it would be nice to keep my .emacs file consistent everywhere. Question: is there a package which allows to update the file at startup from a remote location such as github or via ssh?
Beginner
  • 2,661
  • 3
  • 17
  • 25
4
votes
1 answer

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/ ssh). Here are two solutions I can think of to…
François Févotte
  • 5,917
  • 1
  • 24
  • 37
4
votes
2 answers

How to eliminate excessive filesystem accesses that are slow over sshfs?

I am trying to make Emacs work faster over sshfs. It is currently quite slow in opening files, saving files, and sometimes when starting editing. I used sshfs's debugging mode to track the operations Emacs is doing, and I was able to disable some…
gmr
  • 143
  • 5
4
votes
1 answer

Directory tracking in remote shell buffer

I use the shell command via C-u M-x shell to open a shell on a remote server by giving as default directory the path to the remote server (e.g /user@myserver.com:/home/user) (which should have the same effect as the method described in this…
halloleo
  • 1,215
  • 9
  • 23
4
votes
1 answer

Magit equivalent of 'git remote add origin git@github.com:user/project.git'?

For those who are trying to determine how to do this here is the answer. Yes the answer is in the docs! I missed it on the first pass. Then looked at questions such as the below, trying b u and thinking it could be set there but this was not the…
orion
  • 805
  • 8
  • 16
3
votes
1 answer

How can I set the ls program dired uses only for local directories

I have set the ls program dired uses via (setq insert-directory-program "gls")) (so that I can specify --group-directories-first in dired-listing-switches). Trouble is when I browse a remote directory, TRAMP seems to use the same variable…
halloleo
  • 1,215
  • 9
  • 23
3
votes
3 answers

Dired+ doesn’t work on old remote system

When connected to an old remote system with Tramp 2.4.3.27.1, the buffer shows no files. With tramp-verbose set to 6, I looked at the Tramp debug buffer, then found (anonymized): 13:27:21.657267 tramp-send-command (6) # /bin/ls --color=never --dired…
feklee
  • 1,029
  • 5
  • 17
3
votes
1 answer

Preview images, and PDFs inside a SSH terminal session or inside emacsclient session via SSH?

I work remotely to Linux servers, writing R scripts with ESS. Rstudio works well if I have a fast and stable GUI-based remote desktop connection to the server. Rstudio server also works OK if I have the server running and now problems with managing…
biocyberman
  • 962
  • 7
  • 17
1
2 3 4 5