You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a remote ssh host that requires two factor authentication. Everytime when I ssh <user>@remote. i got a prompt for me to enter yubikey codes (e.g., tap on the yubikey. It inputs a random string to the prompt).
When I use sshping user@remote, I got a prompt "Enter password for user ", which is wrong, because I use public key authentication (with two factor auth). If I did enter my password, or tap yubikey at the point, sshping says
*** Cannot authenticate user
*** Cannot establish ssh session
And exited with exit code 255.
The text was updated successfully, but these errors were encountered:
I have a remote ssh host that requires two factor authentication. Everytime when I
ssh <user>@remote
. i got a prompt for me to enter yubikey codes (e.g., tap on the yubikey. It inputs a random string to the prompt).When I use
sshping user@remote
, I got a prompt "Enter password for user ", which is wrong, because I use public key authentication (with two factor auth). If I did enter my password, or tap yubikey at the point, sshping saysAnd exited with exit code 255.
The text was updated successfully, but these errors were encountered: