infrastructure:ssh
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| infrastructure:ssh [2020-10-11 16:27] – external edit 127.0.0.1 | infrastructure:ssh [2021-01-26 21:23] (current) – mrks | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| - | ===== Converting X509 certificate to SSH public key ===== | + | ===== Converting |
| - | + | ||
| - | * Export in Windows | + | |
| - | * certmgr.msc | + | |
| - | * Browse to certificate | + | |
| - | * Open certificate by double-clicking or right-click and " | + | |
| - | * Details | + | |
| - | * Export to file | + | |
| - | * (*) No, don't export private key | + | |
| - | * (*) Base-64 encoded X.509 (.CER) | + | |
| - | * Run: '' | + | |
| - | * Run: '' | + | |
| - | * The SSH key is displayed | + | |
| + | * Using OpenSSL | ||
| + | * Export in Windows | ||
| + | * certmgr.msc | ||
| + | * Browse to certificate | ||
| + | * Open certificate by double-clicking or right-click and " | ||
| + | * Details | ||
| + | * Export to file | ||
| + | * (*) No, don't export private key | ||
| + | * (*) Base-64 encoded X.509 (.CER) | ||
| + | * Run: '' | ||
| + | * Run: '' | ||
| + | * The SSH key is displayed | ||
| + | * Using PuTTY-CAC | ||
| + | * Open PuTTY-CAC | ||
| + | * Connection > SSH > Certificate > Set CAPI Cert... | ||
| + | * Certificate string for authorized keys file: Copy to Clipboard | ||
| ===== Using Pageant with SSH in Cygwin and MinGW ===== | ===== Using Pageant with SSH in Cygwin and MinGW ===== | ||
| Line 91: | Line 94: | ||
| * '' | * '' | ||
| * Use a different known hosts file when creating multiple tunnels: '' | * Use a different known hosts file when creating multiple tunnels: '' | ||
| + | * SSH into remote-user@remote-host behind jump-user@jump-server: | ||
| + | |||
| + | SSH config with jump server: | ||
| + | < | ||
| + | # SSH into remote-user@remote-host behind jump-user@jump-server | ||
| + | Host my-remote | ||
| + | ForwardAgend yes | ||
| + | Hostname remote-host | ||
| + | User remote-user | ||
| + | ProxyJump jump-user@jump-server | ||
| + | </ | ||
infrastructure/ssh.1602426455.txt.gz · Last modified: by 127.0.0.1
