Score:0

How to access SSH only with the yubikey?

ma flag

I have a server that has a user and password specifically used to log into it remotely through ssh.

I've now setup the Yubikey, so you can access it by using a Yubikey. Works ok. (Followed this video: https://www.youtube.com/watch?v=PjDFk8xdtGw)

The thing is that I still can use the original password to access to the account even if the Yubikey is not inserted. I don't want that to be possible. I want the logging to be successful only if the Yubikey is inserted.

What would be the best way to do that?

I was thinking about a super long random password, but I want to check if there are better options, like "no password login allowed" or something like that

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.