Timeline for How do I list available host key algorithms for an SSH client?
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 17, 2020 at 21:57 | comment | added | pts | ssh -Q (query) was introduced in OpenSSH 6.3, released on 2013-09-13. Release notes: openssh.com/txt/release-6.3 | |
| May 17, 2020 at 16:56 | comment | added | pts | ssh-rsa has been supported by OpenSSH since the beginning. ssh-dsa was introduced before OpenSSH 2.2.0 (2000-09-01), and ECDSA (ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521) was already present in OpenSSH 6.2 (but only conditionally enabled). To query it, run ssh -o HostKeyAlgorithms=ecdsa-sha2-nistp256, and ECDSA keys are supported iff it prints usage:. | |
| Jan 15, 2019 at 17:50 | vote | accept | mpr | ||
| Jan 15, 2019 at 17:50 | comment | added | mpr | Given that I'm on a relatively aged version of Linux now, and it has -Q, and since the man page now states 'The list of available key types may also be obtained using "ssh -Q key".', I'm gonna move this to the answer, assuming it doesn't violate any stack policy. | |
| Aug 15, 2015 at 6:12 | comment | added | Jakuje | this is nice feature, but it is not an answer to the question. Available algorithms are stated in manual page. | |
| Aug 14, 2015 at 19:21 | vote | accept | mpr | ||
| Aug 14, 2015 at 19:22 | |||||
| Aug 14, 2015 at 18:00 | comment | added | thrig | Hmm, -Q has been there for a few years ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/ChangeLog though I suppose some folks are slow to update. To the -v -v -v spam! | |
| Aug 14, 2015 at 17:52 | comment | added | VaTo | I get this: ssh: illegal option -- Q | |
| Aug 14, 2015 at 17:40 | vote | accept | mpr | ||
| Aug 14, 2015 at 19:21 | |||||
| Aug 14, 2015 at 17:39 | comment | added | mpr | Heh, looks like I'm on the ancient version. | |
| Aug 14, 2015 at 17:35 | history | answered | thrig | CC BY-SA 3.0 |