|
Lines 233-239
keygrab_ssh2(con *c)
Link Here
|
| 233 |
break; |
233 |
break; |
| 234 |
case KT_RSA: |
234 |
case KT_RSA: |
| 235 |
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = get_cert ? |
235 |
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = get_cert ? |
| 236 |
"ssh-rsa-cert-v01@openssh.com" : "ssh-rsa"; |
236 |
"rsa-sha2-512-cert-v01@openssh.com," |
|
|
237 |
"rsa-sha2-256-cert-v01@openssh.com," |
| 238 |
"ssh-rsa-cert-v01@openssh.com" : |
| 239 |
"rsa-sha2-512," |
| 240 |
"rsa-sha2-256," |
| 241 |
"ssh-rsa"; |
| 237 |
break; |
242 |
break; |
| 238 |
case KT_ED25519: |
243 |
case KT_ED25519: |
| 239 |
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = get_cert ? |
244 |
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = get_cert ? |