$ aegea ssh foo@bar
Traceback (most recent call last):
File "/home/andrey.kislyuk/.local/bin/aegea", line 23, in <module>
aegea.main()
File "/home/andrey.kislyuk/.local/lib/python3.6/site-packages/aegea/__init__.py", line 82, in main
result = parsed_args.entry_point(parsed_args)
File "/home/andrey.kislyuk/.local/lib/python3.6/site-packages/aegea/ssh.py", line 228, in ssh
ssh_opts += init_ssm(get_instance(name).id)
File "/home/andrey.kislyuk/.local/lib/python3.6/site-packages/aegea/ssh.py", line 217, in init_ssm
ssm_plugin_path = ensure_session_manager_plugin()
File "/home/andrey.kislyuk/.local/lib/python3.6/site-packages/aegea/util/aws/ssm.py", line 47, in ensure_session_manager_plugin
elif "Ubuntu" in subprocess.run(["uname", "-a"], capture_output=True).stdout.decode(): # type: ignore
File "/usr/lib/python3.6/subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'