dil_bert Posted November 24, 2018 Share Posted November 24, 2018 I have two files, id_rsa and id_rsa.pub. What command can be used to validate if they are a valid pair? i have tested this way: ssh-keygen -y -e -f <private key> [martin@martin-pc ~]$ ssh-keygen -y -e -f <private key> bash: Syntaxfehler beim unerwarteten Wort `newline' [martin@martin-pc ~]$ why do i get this error ?! Quote Link to comment Share on other sites More sharing options...
requinix Posted November 24, 2018 Share Posted November 24, 2018 I can only assume the problem is that you don't know what "unexpected token" means. Frankly, I'm not sure what it's doing there either. ssh-keygen -ye with the private key will tell you the public key. Compare the output with your actual public key to see if they match. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.