...
UI Text Box |
---|
$ step ssh list --raw '<user_email>| step ssh inspect -: Type: ecdsa-sha2-nistp256-cert-v01@openssh.com user certificate Public key: ECDSA-CERT SHA256:TdhIpD5KFZD37roGYcDstS7180TruOnNgNJeS8eJJPk Signing CA: ECDSA SHA256:e0ZF6AnnUzi0g7Db9nOaXxkEjRq9D6Ka4tV04XqiIgM Key ID: "<user_email>" Serial: 841532770994081620 Valid: from 2022-02-15T11:55:24 to 2022-02-15T19:55:24 Principals: <username> Critical Options: (none) Extensions: permit-X11-forwarding permit-agent-forwarding permit-port-forwarding permit-pty permit-user-rc |
An alternative mode of creation of the step certificate
If it is necessary to avoid using ssh-sgent you can download your certificate with the following command.
UI Text Box |
---|
|
step ssh certificate 'email@yourmail' --provisioner cineca-hpc my_key |
In this way, you will generate a couple of public/private keys with the availability of 12 hours.