Varun Patro
Varun Patro

Reputation: 2179

How do I access remote files using emacs running locally?

Normally, to edit my files, I need to ssh into host sunfire and on that host, I need to ssh into another host xcnc1. My files are on xcnc1 which I can only access through sunfire.

My question is how can I access that xcnc1 files from my local machine?

Upvotes: 1

Views: 91

Answers (1)

Michael Albinus
Michael Albinus

Reputation: 1656

Use Tramp with ad-hoc proxies. Something like C-x C-f /ssh:user1@sunfire|ssh:user2@xnc1:/path/to/file. If user1 or user2 are the same user as your local one, you could omit them.

Upvotes: 5

Related Questions