Disclaimer : I am absolute noob in terms of SSH kind of stuffs.

I maded a SSH key on ConnectBot app on android.I still have password of that key.I got a private and public key.I shared public key with tildes for making accounts.Now they know me by my that key but I want to login by termux. On termux I installed openssh and tried to login it says that authentication failed.

So I just need to backup keys from connected bot and restore on termux and my PC . Will it work ? How to do it? Will making a new pair of keys using same pass and name will work?

I did not got anything regarding this on searches

  • @malockin
    link
    English
    310 months ago

    I’m not sure where ConnectBot stores its keys, so I can’t help with the ‘transferring to termux’ part :-)

    What I can tell you is that you should be able to generate and use SSH keys directly in Termux. Here’s a quick guide on how to do it: https://gist.github.com/evandrocoan/f503188587587d7b1d1ba8746c9c6107

    I’ve switched phones recently, and I haven’t set up my keys yet, but as far as I recall I went through a similar process a few years ago to set up SSH keys on my phone (I haven’t tried the steps in that article myself).