AES seems easiest, ideally rsa paired-key using the keys in .ssh would be perfect, but the ssh keys aren't in the correct format, and you need open-ssh to fix them
openssl pkcs8 -topk8 -inform PEM -outform DER -in private_key_file -nocrypt > pkcs8_key
not sure if there is a programmatic way to do this with Jsch or Java?
AES seems easiest, ideally rsa paired-key using the keys in .ssh would be perfect, but the ssh keys aren't in the correct format, and you need open-ssh to fix them
not sure if there is a programmatic way to do this with Jsch or Java?