jeffreywildman / homebrew-virt-manager

A set of homebrew formulae to install virt-manager and virt-viewer on MAC OSX
1k stars 266 forks source link

Connecting over ssh works differently from inside virt-manager #136

Closed aneurinprice closed 4 years ago

aneurinprice commented 4 years ago

When attempting to add a connection via the virt-manager interface, my ssh config seems to be ignored. SSH host entries and my ssh key do NOT appear to be acknowleged. Please see below.

Screenshot 2019-10-01 at 22 56 12 Screenshot 2019-10-01 at 22 56 51

If there is something I am misunderstanding how virt-manager works on macOS, please let me know. Perhaps there is a quick and easy fix by setting an env var that I do know about? This is 100% reproducable.

aneurinprice commented 4 years ago

@jeffreywildman I'm at a bit of a loss here, I don't know my way around a mac to troubleshoot this any further

5nafu commented 4 years ago

@aneurinprice a possible workaround would be to add a connection with a custom URI from within virt-manager. Be sure to add the socket parameter as in your first example. This seems to have fixed the same issue I had on my machine.

aneurinprice commented 4 years ago

@5nafu Thank you so much! I can confrim that this worked perfectly. Do you think I should keep the issue open as this is more of a workaround than a feature

jeffreywildman commented 4 years ago

Thanks @5nafu, closing since the issue will still remain searchable.