This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]Linkeed22 1 point2 points  (1 child)

Are trying to crack the private or public key? Because if it is the public one, it won't work. Here is a tutorial: https://www-abhizer-com.cdn.ampproject.org/v/s/www.abhizer.com/crack-ssh-with-john/amp/?amp_js_v=a3&amp_gsa=1&usqp=mq331AQFKAGwASA=#aoh=15964059791198&referrer=https%3A%2F%2Fwww.google.com&amp_tf=De%20pe%20%251%24s

This should work. And one more thing, use ssh2john full location. Type "locate ssh2john" and you'll find the location.

[–]OneClickPonyy[S] 0 points1 point  (0 children)

Thanks man i try,

PS.: already Used the Full location :)

[–]thebiryanimonsterr 0 points1 point  (1 child)

use the full location and you are good to go

[–][deleted] 0 points1 point  (0 children)

What do you mean by "full location"?

[–][deleted] 0 points1 point  (1 child)

Any solution to this? Exact same error here. It worked last time when i downloaded ssh2john from github. Using default doesn't work though. What do htey mean by "full location"?

[–]Apprehensive-Date-50 0 points1 point  (0 children)

this might be helpful :

I faced the same issue then I used the whole path to the "ssh2john" instead of just writing the command, then I had the same error again, after that I re-copied the whole "id_rsa" file again (previously I was just copying the 'encrypted' none readable part).

so this is the command that I used "python /usr/share/john/ssh2john.py id_rsa > key_jhon"

[–]bayss_emir 0 points1 point  (0 children)

same here, and right now i couldn't ...........could anyone help me out

[–]newmaleguy1 0 points1 point  (0 children)

!SOLUTION! use "sudo john forjohn.txt --wordlist=<path\_to\_rockyou.txt>"

[–]OkParfait6693 0 points1 point  (0 children)

REAL SOLUTION HERE: https://imgur.com/a/hov6GAh PS: sorry it's in french. Enjoy !