Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
misc:ssh:cmds [2021/02/17 14:12] – js | misc:ssh:cmds [2021/02/17 14:13] (current) – js |
---|
| |
* **private** = save the private key in the proprietary PuTTY key format as a .ppk file. | * **private** = save the private key in the proprietary PuTTY key format as a .ppk file. |
* **fingerprint** = outputs the fingerprint of the key | * **fingerprint** (or -l) = outputs the fingerprint of the key |
* **public** = save the public key corresponding to the private key. For SSH2 keys, the public key will be output in the format specified by RFC 4716. This format is supported by, e.g., Tectia SSH. Keys in that format look like this: | * **public** (or -p) = save the public key corresponding to the private key. For SSH2 keys, the public key will be output in the format specified by RFC 4716. This format is supported by, e.g., Tectia SSH. Keys in that format look like this: |
<WRAP center round box 60%> | <WRAP center round box 60%> |
''---- BEGIN SSH2 PUBLIC KEY ---- Comment: "user@example.com" AAAAB3NzaC1yc2EAAAABIwAsdfasdfEA1on8gxCGJJWSRT4uOrR13mUaUk0hRf4RzxSZ1zRb YYFw8pfGesIFoEuVth4HKyF8k1y4mRUafdssdfasdfe4WWZSXXcPff+EHtWshahu3WzBdnGxm5Xoi89zcE= | ''---- BEGIN SSH2 PUBLIC KEY ---- Comment: "user@example.com" AAAAB3NzaC1yc2EAAAABIwAsdfasdfEA1on8gxCGJJWSRT4uOrR13mUaUk0hRf4RzxSZ1zRb YYFw8pfGesIFoEuVth4HKyF8k1y4mRUafdssdfasdfe4WWZSXXcPff+EHtWshahu3WzBdnGxm5Xoi89zcE= |
</WRAP> | </WRAP> |
| |
* **public-openssh** = save the public key only, in OpenSSH's proprietary format. The format is also supported by Tectia SSH. like this: | * **public-openssh** (or -L) = save the public key only, in OpenSSH's proprietary format. The format is also supported by Tectia SSH. like this: |
| |
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTbmdsfawer23lzdHAyNTYAAABBBN+Mh3U/3We4VYtV1QmWUFIzFLTUe32324D/QGtCRGAZn8bxX9KlCrrWISIjSYAwCajIEGSPEZwPNMBoK8XD8Q= test@example.com | ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTbmdsfawer23lzdHAyNTYAAABBBN+Mh3U/3We4VYtV1QmWUFIzFLTUe32324D/QGtCRGAZn8bxX9KlCrrWISIjSYAwCajIEGSPEZwPNMBoK8XD8Q= test@example.com |