Planet Python
Follow
Anwesha Das: ssh version output in stderr
Generally Linux commands print their version on stdout, for example
git --version or python --version. But not ssh. ssh -V prints output to stderr.To test it you can do the following:
git version on stdoutgit version 2.51.0ssh version on stderrOpenSSH_9.9p1, OpenSSL 3.2.4 11 Feb 2025Hope this will be helpful.