mirror of
https://github.com/ben-grande/qusal.git
synced 2025-05-02 06:16:18 -04:00
refactor: initial commit
This commit is contained in:
commit
f6ac229306
594 changed files with 18600 additions and 0 deletions
14
salt/sys-ssh-agent/files/server/rpc/qusal.SshAgent
Normal file
14
salt/sys-ssh-agent/files/server/rpc/qusal.SshAgent
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
set -eu
|
||||
|
||||
#origin="$QREXEC_REMOTE_DOMAIN"
|
||||
agent="$QREXEC_SERVICE_ARGUMENT"
|
||||
socket="/tmp/qubes-ssh-agent/${agent}.sock"
|
||||
|
||||
qvm-ssh-agent add "${agent}" >/dev/null
|
||||
exec socat STDIO UNIX-CLIENT:"$socket"
|
Loading…
Add table
Add a link
Reference in a new issue