I have sent you an email regarding autodetection of Azure certificates.
Issue 2311 – Recognize matching Azure certificate files
Issue 2311 – Recognize matching Azure certificate files
/keygen
does not detect the certificate automatically. Thanks for the correction.
id_rsa-cert.pub
, the /keygen
on the cli didn't detect it automatically and still needed it as parameter. Thanks for your hints!
rm $env:USERPROFILE\az_ssh_config\all_ips -r; az ssh config --file $env:USERPROFILE\config --ip * --overwrite --yes -force; & "C:\Program Files (x86)\WinSCP\WinSCP.exe" /keygen $env:USERPROFILE\az_ssh_config\all_ips\id_rsa /certificate=$env:USERPROFILE\az_ssh_config\all_ips\id_rsa.pub-aadcert.pub /output=$env:USERPROFILE\az_ssh_config\all_ips\id_rsa.ppk
az ssh config --file ./.ssh/config --ip *
ren id_rsa-aadcert.pub id_rsa-cert.pub
winscp.com /keygen id_rsa /output=id_rsa.ppk
--certificate-file
switch to specify the "correct" name of the certificate file on the az ssh config
commandline to avoid the need to rename it:
az ssh config --file ./.ssh/config --ip *
id_rsa
, id_rsa.pub
, id_rsa.pub-aadcert.pub
. These are only valid for 1 hour so everytime I want to use WinSCP I have to (rename aadcert.pub
and) convert them to ppk.
and when WinSCP converts them from OpenSSH format to ppk that doesn't bundle in the accompanying certificate that is required.
-cert.pub
suffix: