public static CipherParameters getSSHPrivateKey(File sshPrivateKeyFile)
			throws InvalidKeyException, IOException {

		if (!sshPrivateKeyFile.isFile()) {
			throw new FileNotFoundException("SSH private key file not found: " + sshPrivateKeyFile);
		}

		try (InputStream keyIn = new FileInputStream(sshPrivateKeyFile)) {
			return getSSHPrivateKey(keyIn, sshPrivateKeyFile.getAbsolutePath());
		}
	}
Return the SSH private key corresponding to the specified key file.
If the specified key file is encrypted the currently installed password
provider will be used to obtain the decrypt password.
@param sshPrivateKeyFile private ssh key file
@return private key cipher parameters ({@link RSAKeyParameters} or {@link DSAKeyParameters})
@throws FileNotFoundException key file not found
@throws IOException if key file not found or key parse failed
@throws InvalidKeyException if key is not an SSH private key (i.e., PEM format)
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/remote/security/SSHKeyManager.java