I am trying to set up an infrastructure where a server folder is mapped into a local directory using SSHFS. This local directory, then, serves as the project folder for Eclipse/Aptana. I would like to be able to work on this project and then push the changes to remote, when needed (from my local machine).
The problem I am having is setting up the SSH keys. Namely, should there be 2 keys (local and server where the original SSHFS source is located) or just one? If there is only one key that was made on the server, will my local machine be able to use it somehow through SSHFS?
Is there a better way to achieve what I am trying to do?