Reputation: 165
I use Eclipse RSE to access files on a web server. To establish a sftp connection with Eclipse RSE I use my HippieBandJam user-ID. To edit files I need root access which I only can gain with the sudo command. In Eclipse RSE I have tried to start a new ssh terminal, use sudo su and then refreshed the sftp tree but this does not seem to work. Does anyone have any idea how to "upgrade" the sftp connection so I can edit the files?
Upvotes: 14
Views: 3377
Reputation: 68
Other Workaround: NOT ON LIVE SERVER!!!!
Assign the group of the files write rights during the period you are editing them and add your account to the group.
Upvotes: 0
Reputation: 1
My workaround for this was to set up the connection to use the root user from the start. First, you need to enable it on your ssh client: https://forums.aws.amazon.com/thread.jspa?threadID=86876
Then you may have to configure the authorized_keys file: /root/.ssh/authorized_keys to accept the key.
Hope that helps! It's not quite as secure, so be wary of this method.
Upvotes: 0
Reputation: 1473
If you want something really exotic, you could:
He-he :-)
Upvotes: 1
Reputation: 100
Here is one idea:
create a mount point in your local system in /media/
use sshfs cmd to mount the remote server file system directory to .
In eclipse use the project, use add directory to your project Steps: right click on your project -> New -> Folder -> Advanced (Select link to alternate location) linked folder.
There you have your remote systems files synced up...
Hope this helps!
Upvotes: 0