practicalli/neovim

Security: ssh agent setup for termux

Open

#75 opened on Apr 28, 2025

View on GitHub
 (1 comment) (0 reactions) (1 assignee)HTML (6 forks)auto 404
good first issuetermux

Repository metrics

Stars
 (29 stars)
PR merge metrics
 (PR metrics pending)

Description

It seems that SSH agent for managing SSH keys can now be setup as a demon

From the openssh package install

The following packages will be upgraded:
  openssh
1 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
Need to get 929 kB of archives.
After this operation, 8192 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://mirror.sunred.org/termux/termux-main stable/main aarch64 openssh aarch64 10.0p2-4 [929 kB]
Fetched 929 kB in 1s (1768 kB/s)
(Reading database ... 45086 files and directories currently installed.)
Preparing to unpack .../openssh_10.0p2-4_aarch64.deb ...
Unpacking openssh (10.0p2-4) over (10.0p2) ...
Setting up openssh (10.0p2-4) ...

If you plan to use the 'ssh-agent'
it is recommended to run it as a service.
Run 'pkg i termux-services'
to install the ('runit') service manager

You can enable the ssh-agent service
using 'sv-enable ssh-agent'
You can also enable sshd to autostart
using 'sv-enable sshd'

Contributor guide