Online SSH Hash Converter (ssh2john)

This tool extracts password hashes from SSH private keys using ssh2john, useful for forensic analysis and password cracking.

No file chosen

SSH Private Key to John the Ripper Hash Converter

This free online tool allows you to convert SSH private keys into John the Ripper compatible hash format. It helps security professionals and enthusiasts to test or crack SSH passwords securely.

What is SSH2JOHN?

SSH2John is a utility that converts SSH private key files into a hash format compatible with John the Ripper, a popular password cracking tool. This allows you to analyze and test SSH key security in a controlled environment.

What is John the Ripper?

John the Ripper is a fast and flexible password cracking software used to perform security testing. It supports multiple hash types, including those generated from SSH private keys using ssh2john.

What is SSH?

SSH, or Secure Shell, is a network protocol used to securely connect to remote systems. SSH uses key pairs consisting of a private and public key to authenticate users without sending passwords over the network.

How to convert SSH private key into John the Ripper hash?

  1. First, generate a private/public key pair using ssh-keygen
    $ ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/keydecryptor/.ssh/id_rsa):
    Created directory '/home/keydecryptor/.ssh'.
    Enter passphrase (empty for no passphrase): mypassword
    Enter same passphrase again: mypassword
    
    Your identification has been saved in /home/keydecryptor/.ssh/id_rsa.
    Your public key has been saved in /home/keydecryptor/.ssh/id_rsa.pub.
  2. Encrypt the private key with a password (make it password protected)
  3. Upload the password-protected SSH private key file
  4. Click on the Generate button
  5. Copy the output or click on the Download button to save the John the Ripper hash

Example

Input:

id_rsa (SSH private key file)

Output:

$sshng$1$16$...$...$... (John the Ripper compatible hash)

FAQ

  1. Can you convert SSH keys to John the Ripper hash for free?

    Yes, this online tool allows free conversion of SSH private keys into John the Ripper hash format.

  2. Is it safe to upload my SSH private key?

    Always ensure you are uploading keys in a secure environment. Use test keys if possible and avoid using production private keys.

  3. Which password types are supported?

    Any password-protected SSH private key can be converted to John the Ripper hash format.

    Online SSH Hash Converter (ssh2john)