I created a SSH key for my github but I want to see that SSH key on turmux screen or I need to copy that so i can use it. I am new to git and termux both due to no laptop at my home I dont have much idea of command lines So please of there is anyone who can guid me to learn git and termux please DM me Note :— I had seen all the available resources on internet. I need a human intelligence. Please dont give internet link as I already told you I had visited many and most of them. So if there is any one DM me.
8/13/2020 3:40:06 AM丹ⓨㄩک廾 🇮🇳
12 AnswersNew Answer
(DM not working) These are the steps I had used: 1) pkg install openssh 2) ssh-keygen -t rsa -b 4096 -C "your_github_email" 3) eval "$(ssh-agent -s)" 4) ssh-add ~/.ssh/id_rsa 5) cp id_rsa.pub ~/storage/shared/key.txt 6) Open the file explorer, and find key.txt file in sdcard and opened it and copied it's content. 6) then I navigated to https://github.com/settings/keys and added an SSH KEY, that's all, then to test run below command 7) ssh -T [email protected] You will be prompted with a warning, just type yes to record the GitHub to your known_hosts
But you are new to git and termux then firstly you have to learn Git and Termux ... It's tutorial on git & termux Check out these links Have you completed your termux & git tutorial ? If not completed then you need to complete it Sorry for any given wrong answer
Git SSH key Tutorial https://www.atlassian.com/git/tutorials/git-ssh https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key it's may help you (Linux command line help) https://ss64.com/bash/ Termux Tutorial https://youtu.be/SlMJCwAhKzM https://wiki.termux.com/wiki/Main_Page
Yes last time I accidentally did it Мг. Кнап🌠 . But I created a new ssh key and dont know from where to get that key value so that I can add it again to my git
I had searched that folder I had already lernt this documentation but I hadn't found any .ssh file. there are two files one which I gave name and second .pub file with same name but no .ssh file
Ops Prachi The Pari💕 had you learnt full question
Мг. Кнап🌠 👏👏👏
try ls -a and see is their any directory as .ssh if so, go in and get your key and copy it's content And add it here https://github.com/settings/keys
Yes I already completed tutorials Prachi The Pari💕
Have you added the ssh key to your GitHub account??
It's default folder where the ssh are generated.. EDIT: how did u generated the key
You should learn git and termux commands first and they shouldn't be difficult for you if you were using a Linux operating system