5

How do I generate a pair of SSH keys to be able to use in several apps (Juice SSH, Turbo, etc) to access my remote host? I've tried generating them with Connectbot, JuiceSSH and on a Linux machine, but none seem to work...

EDIT: I've generated the keys the way I usually do, with ssh-keygen -t rsa -b 4096, copied the private key to a ssh/ folder on my phone's internal memory (which I later point to in the client software) and added the public key to the .ssh/authorized_keys file on my server.

1

You could install Termux, a terminal shell with additional Linux functionality on top of Android, with a package manager, so you can scale the magnitude of native Linux functionality at will. Then enter

pkg install openssh

Key-pairs in different formats will be generated upon OpenSSH install.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.