Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [remote]

The tag has no usage guidance.

0
votes
1answer
24 views

Tramp with ssh not asking for password - too many authentication failures

I would like to use tramp to login to a remote server via SSH. It used to work effortlessly, but somehow it does not even ask me for a password any longer and tries wildly to login with I guess keys ...
0
votes
1answer
28 views

How to access (remote) MS Windows shared directory or files in Emacs25 running on Ubuntu 18.04

My question has already been asked here. However, the solution provided there didn't work for me. Through Ubuntu "Files" I am able to access the samba share with smb://DOMAIN;USER@IP_ADDRESS/...
1
vote
0answers
33 views

Folder navigation on remote windows machine can't see folders with spaces

I've been trying to navigate folder structures on a remote Windows machine with Cygwin installed, but I can't seem to navigate to folders which contain a space in them. Emacs claims that "File no ...
3
votes
2answers
149 views

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 ...
0
votes
2answers
241 views

Remote machine: Your terminal lacks the ability to clear the screen or position the cursor

Linux Mint 18.1 (64 bit) Xfce, Emacs 25.3 If I want to connect(via ssh) to remote Linux macnine I do next step: Open terminal ssh -oStrictHostKeyChecking=no mylogin@192.xxx.xxx.16 As result I ...
0
votes
1answer
77 views

Tramp FTP cant connect. tramp-file-name-handler: Host name must not match method “ftp”

I am trying to connect ftp using tramp I am using C-x C-f /ftp:username@subdomain.hostname.com I get an error message in the mini buffer: tramp-file-name-handler: Host name must not match method "...
0
votes
0answers
77 views

How to get tramp to connect to remote machine with this prompt?

I'm having a hard time understanding how to get tramp to connect to my schools remote machine. When using ssh the prompt looks like this: $ ssh me@machine.edu * * * WARNING ...
1
vote
2answers
190 views

Tramp: Cannot Save File

I am new to tramp and I am trying to edit a file stored in a remote server. I connect to the file through C-x C-f /ssh:username@host:path_to_file/myfile.m. And on my init.el I have the options: (setq ...
2
votes
0answers
1k views

ssh - Pseudo-terminal will not be allocated because stdin is not a terminal

Windows 10 (64 bit), Emacs 25.1 If I want to remote connect by ssh to UNIX machine (Ubuntu) from my local machine (Windows 10) I do the next step: Run cmd Execute the next command ssh -...
5
votes
2answers
805 views

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 ...
0
votes
0answers
48 views

lines are mixed up when running emacs remotely

When I ssh onto a remote server, and then open emacs on that server, and attempt to edit, I often experience many issues with the display. For example, when I move my cursor around the file using C-...
2
votes
0answers
32 views

Emacs how to run a command that requires a default editor remotely from with local Emacs? [duplicate]

I frequently use TRAMP to edit files on a remote machine but I also want to use Emacs for remote configuration and management. On any system there are some commands that run with the VISUAL and ...
0
votes
1answer
28 views

Can not connect to remote MS Windows machine from local MS Windows machine

Windows 10 (64 bit), Emacs 25.1 I want to connect from my local Windows machine to remote Windows machine. But Tramp does not support connecting a remote MS Windows host from a local MS Windows host....
0
votes
1answer
199 views

Connect to remote Windows machine: Network error: Connection timed out

Windows 10 (64 bit), Emacs 25.1 When I want to connect to remote Windows machine (via VPN) I use the next steps: Start application OpenVPN and success connect Start msc (Remote Desktop Connection) ...
1
vote
1answer
113 views

How to rsync/fetch/download the folder open with ssh/tramp

I work in a folder on the server, peyote2 in this case. I can edit files there etc, we all know that. However I have there a pdb file (RNA 3D structure) that to view I have to download it to my ...
0
votes
0answers
246 views

Spacemacs on Remote?

I'm using Spacemacs on my laptop and it's a little bit slow on Windows. I'm planning to setup a fast desktop based on Linux (probably Ubuntu). I want to develop on this desktop by connecting remote. ...
1
vote
1answer
131 views

Fix compilation mode paths when compiling in container or remotely

Recently the scenario of editing project source code locally but building the project remotely on another machine (for example inside a Docker container or an Amazon Web Services host) is becoming ...
5
votes
1answer
458 views

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 ...
2
votes
1answer
843 views

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 ...
0
votes
0answers
112 views

Connecting to emacs session on a different computer

I was looking at a video which describes a sort of client server emacs mechanism. The emacs ran on a different computer and on the local computer ran a client version which acted as a GUI for the ...
2
votes
1answer
568 views

How can I use Emacs in a SSH sever that I logged in through emacs terminal?

I really like the emacs terminal but each time I use it to log into my server. I don't know how to use emacs to edit files on the server. Or it is not possible to do it? I can only edit files on ...
1
vote
1answer
155 views

Ediff directories with remote path (and Prelude?)

I need to compare from time to time the contents (source code) of a remote directory with a local one. And I would like to mark for hiding those files/subdirs that are identical (that is, use the =h ...
1
vote
1answer
605 views

Identify remote directories and open files through tramp from emacs terminal

Emacs terminal (from multi-term) can automatically detect a folder path. So performing C-x C-f from a local directory, automatically provides the path to that directory to open any relevant files. ...
3
votes
1answer
229 views

TRAMP doesn't know some of the remote commands

I'm using my local emacs to edit files on a remote cluster. Therefore I added: [[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return to my remote .zshrc and I can edit ...
2
votes
1answer
549 views

Forwarding emacs server TCP connection works, but cannot create local frame

I'm trying to connect to a remote Emacs server. I created the server with server-use-tcp set to t so a connection file was created. I inspected the connection file and found out that it contains the ...
13
votes
2answers
4k views

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 ...
3
votes
1answer
57 views

Which package to share editing, in real-time, over http?

I seem to remember a package mentioned once, that you would activate in Emacs, and then other people could follow what happens in almost real time in your Emacs by accessing a URL with a web-browser. ...
3
votes
2answers
794 views

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.
8
votes
1answer
673 views

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 ...
1
vote
2answers
115 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 ...
0
votes
0answers
156 views

How can I get the same emacs experience on any computer?

I really enjoy my emacs config (the autocomplete and indentation settings, the use of things like jedi and tern etc.) Most of the time I use emacs at home on my personal macbook pro laptop but I am ...
4
votes
1answer
1k views

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 ...
6
votes
1answer
1k views

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 <some folder> it tells me No such directory found via CDPATH ...
2
votes
2answers
155 views

How can I access a file at an (HTTP / HTTPS) URL?

If I have a URL to a file (for example, this gist), what's the easiest way to fetch that file from Emacs and edit a copy of it? Is there a better option than M-! curl -n [insert URL here] RET? I'd ...
1
vote
1answer
316 views

How to do remote compile on Windows from Linux

How can I configure Emacs, such that I am able to compile files remotely on a Windows machine, while Emacs is running under Linux? I am using tramp via the smb method to edit files on the Windows ...
0
votes
1answer
104 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 ...
4
votes
2answers
215 views

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 ...
11
votes
1answer
817 views

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 ...
4
votes
1answer
616 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
201 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 ...