I have a linux device which supports authentication with a certificate and a private key.
I have tried to connect with:
k = paramiko.RSAKey.from_private_key_fil("path to privte key")
client.connect(server,port,user, key_filename ="path to certificate file", pkey=k)
I cannot connect in any way to the device.
Under windows with OPEN SSH I can connect to the device with :
ssh root@192.168.0.2 -p 22 -o IdentityFile=C:\client_key\client_key -o CertificateFile=C:\client_key\OTCsigned_certificate