While using command
generate tech-support archive upload user <user> ticket <ticket>
And introducing appropriate credentials (and also wrong credentials) we get next output:
vyos@vyos:~$ generate tech-support archive upload user USER ticket TICKET Enter host password for user 'USER': % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (2) Failure establishing ssh session: -5, Unable to exchange encryption keys Debug file is generated and located in /tmp/vyos_tech-support-archive_2025-05-08T12-31-27.tar.gz vyos@vyos:~$
How to reproduce
Ensure file /root/.ssh/known_hosts exists.
IF such file is not present, then the tool is working