this post was submitted on 02 Feb 2024
15 points (77.8% liked)

Open Source

31145 readers
363 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] malockin@lemmy.world 3 points 9 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).