1

I have only one user (say "goodk") that can accept SSH connections. So, I am not able to use Tramp to edit files which are accessible to other users than the one that accepts SSH connection. How can I achieve this?

How I do this currently:

I use terminal. From terminal I login to user "goodk". Then I switch user using su or sudo.

Sabya
  • 11,534
  • 17
  • 67
  • 94

2 Answers2

2

Have you checked: How can I use Emacs Tramp to double hop ssh? or http://jeremy.zawodny.com/blog/archives/000983.html

or http://codesnippets.joyent.com/posts/show/366

Community
  • 1
  • 1
Friedrich
  • 5,916
  • 25
  • 45
0

To the remote server the files are being read/written by the user that connects via ssh. If the files to be modified are owned by a different user then they will need to be readable/writable by the ssh user.

Miserable Variable
  • 28,432
  • 15
  • 72
  • 133