This might be impossible but this is what I would like:
- Allow the developer to login to server via Capistrano so that he can deploy changes. e.g.
- Do not allow the developer to login to the server when not using Capistrano. e.g.
More info: Our developers deploy to our server using Capistrano. When running
cap deploy or similar commands Capistrano logins to the server (ssh) using a key that was passed to the developer and runs some commands.
Reason I want to do this: Security and Chef is being used to manage the server (wouldn't want changes to be made outside of Chef).
Is this possible?