Hide Forgot
Description of problem: if using virt-manager on a Fedora 25 to remotely manage hosts ( Centos 7.2 for example ) using SSH, the client doesn't honor configurations in .ssh/config file related to the hosts. in particular and in more details, if I have a remote KVM host and I wish to use virt-manager to manage it and there is a stanza for the host in ~/.ssh/config relating to which SSH key it should use, virt-manager will not use that particular key even if "IdentitiesOnly yes" directive is used. In the same time, the same host is accessible without issues using the same ssh config file using shell. Version-Release number of selected component (if applicable): virt-manager Ver. 1.4.0 How reproducible: Steps to Reproduce: 1. try to connect to a remote KVM host specifying which SSH key to use ( ssh-agent is at play with many keys ) 2. on the remote host turn up SSH logging to VERBOSE and monitor the connection attempts 3. failed attempts will show for Keys that are not correct on the remote host logs. Actual results: failed connections attempts while trying each key. Expected results: virt-manager should honor ~/.ssh/config file Additional info: This issue is critical in situations where "MaxAuthTries" directive in sshd_config is set to a number lower than the count of the available keys on the system. In this situation the connection from virt-manager will be terminated with an error of "Too Many authentication failures".
Thanks for the report. Can you reproduce the issue with 'virt-manager --debug' and post the full output here, from app startup to app shutdown? So I can see what config you are using.
No response, closing as INSUFFICIENT_DATA. If anyone can still reproduce, please reopen with the info requested in Comment #1