Hi,
Thank you for the reply, I have stored the master and subkey in the yubikey.
I have this information in my yubikey when I run the --card-status
Quote:
Authentication key: 1234 567Y 098U GH99 OM76 XXXX XXXX XXX1 XXX2 XXX3
created ....: 2017-09-28 10:33:58
General key info..: sub rsa4096/123456789 2017-09-28 valgenova (test) <myaddres@mydomain.com>
sec rsa4096/123456UI created: 2017-09-28 expires: 2019-09-28
ssb> rsa4096/098765YU created: 2017-09-28 expires: 2019-09-28
I also have generated my rsa_id.pub, with the output of the cardno in the id_rsa.pub,
and uploaded it in the remote machine where I will be connecting to, when I uploaded the id_rsa.pub
I change the cardno to myemail address as said in the forum. I then connect to that remote machine.
I was able to connect with 2 steps authentication, as Yubikey for root login as the first authentication,
and then ssh root login as the secondary authentication.
My question is on the authentication, how can I make the Yubikey for root login the only step to login on the remote server? with my id_rsa.pub already uploaded on the remote machine .
Thank you in advance
valgenova