mirror of
https://github.com/Qubes-Community/Contents.git
synced 2025-07-08 23:39:32 -04:00
Merge pull request #158 from ypid/refactor/split-ssh
refactor: Fix ShellCheck warnings in /etc/qubes-rpc/qubes.SshAgent
This commit is contained in:
commit
ec675d118a
1 changed files with 10 additions and 10 deletions
|
@ -169,16 +169,16 @@ We now need to write a small script that handles connection requests from `ssh-c
|
|||
|
||||
- Paste the following contents:
|
||||
|
||||
```shell_prompt
|
||||
#!/bin/sh
|
||||
# Qubes App Split SSH Script
|
||||
|
||||
# safeguard - Qubes notification bubble for each ssh request
|
||||
notify-send "[`qubesdb-read /name`] SSH agent access from: $QREXEC_REMOTE_DOMAIN"
|
||||
|
||||
# SSH connection
|
||||
socat - UNIX-CONNECT:$SSH_AUTH_SOCK
|
||||
```
|
||||
```shell_prompt
|
||||
#!/bin/sh
|
||||
# Qubes App Split SSH Script
|
||||
|
||||
# safeguard - Qubes notification bubble for each ssh request
|
||||
notify-send "[$(qubesdb-read /name)] SSH agent access from: $QREXEC_REMOTE_DOMAIN"
|
||||
|
||||
# SSH connection
|
||||
socat - "UNIX-CONNECT:$SSH_AUTH_SOCK"
|
||||
```
|
||||
|
||||
2. Make it executable
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue