0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 12:58:53 +00:00
Henrik Grimler 995173d5f2 enhance(main/openssh): add ssh-agent service script
Run `sv-enable ssh-agent` to enable the service, and add `export
SSH_AUTH_SOCK="$PREFIX"/var/run/ssh-agent.socket` to .bashrc to make
all terminal sessions use the same agent.

The ssh-agent run script has been put in a subdirectory sv in the
builder dir, and the sshd service script moved there as well. This is
hopefully clearer than trying to put a multiline script in the
TERMUX_PKG_SERVICE_SCRIPT variable.
2025-01-29 19:29:36 +01:00

3 lines
46 B
Bash

#!@TERMUX_PREFIX@/bin/sh
exec sshd -D -e 2>&1