Hello,
we're using asyncssh in out project and we found problem with ssh_config - exactly this error:
asyncssh.config.ConfigParseError: /home/sukondrej/.ssh/config line 1: Invalid PubkeyAuthentication boolean value: unbound
leads me to SSHClientConfig configuration parser (and even in SSHServerConfig):
|
('PubkeyAuthentication', SSHConfig._set_bool), |
|
('PubkeyAuthentication', SSHConfig._set_bool), |
This configuration option is not boolean, according the OpenSSH specification. PubkeyAuthentication can be one of yes, no, unbound or host-bound.
I'm not posting OS version or Python version, as mentioned in CONTRIBUTING.rst, because this is not version specific, but if you want them, I'll post them. I found out that this directive is used on these places (but maybe even more):
docs/api.rst: | PubkeyAuthentication
docs/api.rst: | PubkeyAuthentication
tests/test_connection.py: f.write('Match host localhost\nPubkeyAuthentication no')
asyncssh/connection.py: config.get('PubkeyAuthentication', True))
asyncssh/config.py: ('PubkeyAuthentication', SSHConfig._set_bool),
asyncssh/config.py: ('PubkeyAuthentication', SSHConfig._set_bool),
BR
Ondřej Suk
Hello,
we're using asyncssh in out project and we found problem with ssh_config - exactly this error:
leads me to SSHClientConfig configuration parser (and even in SSHServerConfig):
asyncssh/asyncssh/config.py
Line 671 in 742f091
asyncssh/asyncssh/config.py
Line 768 in 742f091
This configuration option is not boolean, according the OpenSSH specification.
PubkeyAuthenticationcan be one of yes, no, unbound or host-bound.I'm not posting OS version or Python version, as mentioned in CONTRIBUTING.rst, because this is not version specific, but if you want them, I'll post them. I found out that this directive is used on these places (but maybe even more):
BR
Ondřej Suk