redial icon indicating copy to clipboard operation
redial copied to clipboard

ForwardAgent support

Open airfield20 opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. It would be nice if this application provided an easy way to manage ssh-agent forwarding as a config parameter. I have several distributed systems that I use redial to manage. Specifically for cloning private git repositories to those remote machines. Some of them I would like ssh-agent forwarding and some not.

Describe the solution you'd like I would like a checkbox in the edit connection window that when checked will enable ssh-agent forwarding. Upon initiating the connection redial will verify that agent forwarding has worked properly, if not a warning will appear saying it has been disabled either by the client or the server.

Describe alternatives you've considered

  • manually adding forwardAgent yes to ssh config file, but it seems redial manages its own config file in .config/redial/sessions
  • Adding -A to IP parameter in edit connection pane. This still requires you to manage ssh-agent load and unload.

Additional context The reason I'm using ssh-agent forwarding is because github only allows a single deploy key to be in use per machine. So with the end of password-based authentication you can no longer simply clone multiple private repositories to a remote machine.

airfield20 avatar Feb 16 '22 00:02 airfield20