0

Why doesn't my conversion from id_rsa work?

I have an empty file in the final conversion idrsa.hash and when I use command cat idrsa.hash to check the result is

ERRNO2 no such file or directory : id_rsa 

impossible to convert the file with command

usr/share/john/ssh2john.py id_rsa > idrsa.hash the conversion in the file idrsa.hash have this result

ERRNO2 no such file or directory : id_rsa
schroeder
  • 123,438
  • 55
  • 284
  • 319
ghost
  • 1
  • Have you tried specifying the full file path? The error you describe is `file not found`. – user2320464 Mar 20 '21 at 18:24
  • In particular if you generated the keyfile(s) with `ssh-keygen` by default that puts it/them in the directory `$HOME/.ssh` so if you are in your homedir the relative paths are `.ssh/id_rsa .ssh/id_dsa .ssh/id_ecdsa` etc. – dave_thompson_085 Mar 21 '21 at 00:15
  • 1
    When asking for help troubleshooting a command, don't describe what happens. Instead, put the command the the actual full result of the output – schroeder Mar 21 '21 at 00:46

0 Answers0