add ssh -i identity-file support to commands which use the network
commitfd025130ffb23d779b740391823f305518b39ee1
authorStefan Sperling <stsp@stsp.name>
Sat, 11 Jan 2025 15:57:34 +0000 (11 15:57 +0000)
committerThomas Adam <thomas@xteddy.org>
Sat, 11 Jan 2025 23:40:06 +0000 (11 23:40 +0000)
tree164d8d52e31bef32fd67f155e62bd0d154d550dd
parent4de9fa04834ddee6e2e9ee097d465a5b29921e0f
add ssh -i identity-file support to commands which use the network

Add a -i option to got clone, fetch, send, as well as cvg clone,
update, commit. This allows ad-hoc use of SSH private keys without
having to create entries in ~/.ssh/config.

The test suite for an upcoming gotsysd(8) daemon needs this to log
into temporary test VMs with temporary SSH keys, both generated by
the test suite.

ok jamsek
12 files changed:
cvg/cvg.1
cvg/cvg.c
got/got.1
got/got.c
include/got_fetch.h
include/got_send.h
include/got_worktree_cvg.h
lib/dial.c
lib/fetch.c
lib/got_lib_dial.h
lib/send.c
lib/worktree_cvg.c