Skip to content

Instantly share code, notes, and snippets.

@rubinchyk
Created August 13, 2023 05:27
Show Gist options
  • Save rubinchyk/ea51648ef3282fc84347f472cba18c42 to your computer and use it in GitHub Desktop.
Save rubinchyk/ea51648ef3282fc84347f472cba18c42 to your computer and use it in GitHub Desktop.
Disable ssh passphrase in Termux

For SSH agent forwarding in Termux, you can try the following steps:

Start the SSH agent by running: eval $(ssh-agent)

Add your SSH private key to the agent using: ssh-add /path/to/your/private_key

Check if your SSH agent is running and has your key by using: ssh-add -l

If you encounter the passphrase prompt, enter your passphrase to add the key to the agent.

Now, simply use git pull or git push commands as usual. The SSH agent should manage authentication without repeatedly asking for the passphrase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment