practicalli/neovim

Security: ssh agent setup for termux

Open

#75 aperta il 28 apr 2025

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)HTML (6 fork)auto 404
good first issuetermux

Metriche repository

Star
 (29 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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'

Guida contributor