How to use ssh with Emacs on Windows?

I have a Windows developer workstation with Emacs installed and a Linux server with source files and an SSH server. How to open source files on Emacs?

I tried:

Cx Cf /ssh: user@host #22:/home/user/file.rb 

but received an unreadable error message.

+4
source share
1 answer

I think you need TRAMP for Emacs:

After installing the stroller in your Emacs, you can access the files on the remote computers as if they were local. Access to the remote file system for file editing, version control and obsolete are transparently included.

The package provides support for out of the box ssh connections, one of the more common uses of the package. This allows relatively safe access to machines, especially if ftp access is disabled.

On Windows, tramp is integrated with the PuTTY package using plink.

For more information:

http://www.gnu.org/s/tramp/#Overview

PS: Copying and pasting an "unreadable error message" will certainly be useful.

0
source

All Articles