Open underrun opened 1 year ago
Hi @underrun , thanks for mentioning this. I totally see where you are coming from. The current way of doing this (described in the doc) is quite some manual steps. About your proposal, allowing passing SSH options is not possible because it goes against the multipass CLI design principle, simplicity. However, the alternative which is enabling forwarding by default is something we can consider.
Default forwarding would be amazing - and I do hope you ultimately implement it!
On Mon, Jun 26, 2023, 13:42 George Liao @.***> wrote:
Hi @underrun https://github.com/underrun , thanks for mentioning this. I totally see where you are coming from. The current way of doing this (described in the doc) is quite some manual steps. About your proposal, allowing passing SSH options is not possible because it goes against the multipass CLI design principle, simplicity. However, the alternative which is enabling forwarding by default is something we can consider.
— Reply to this email directly, view it on GitHub https://github.com/canonical/multipass/issues/3137#issuecomment-1607500133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEOR3YGF7NRE7CXPCKOGZLXNGGTLANCNFSM6AAAAAAZRYHVAM . You are receiving this because you were mentioned.Message ID: @.***>
Having ssh agent forwarding on by default would make sense.
The current way of doing this (described in the doc) is quite some manual steps
Where in the docs? I don't see it referenced here:
What are you trying to do? I would like to use gui apps from my multipass vm via x11 through multipass shell or the multipass gui.
What's your proposed solution? Allow extra SSH options to be passed when starting a shell through multipass (needs
-X
to be added). Alternately just always enable forwarding even if the user isn't going to use it.Additional context The docs here: https://multipass.run/docs/set-up-a-graphical-interface#heading--x11-on-linux say that it is unfortunate that multipass can't accept extra args for ssh so we need to trust a different ssh key and run ssh ourselves. While this isn't a lot of overhead its enough that I'm just never going to run gui apps from multipass.