| # client-vm is disposable
|
# keys will be retrieved automatically with 2 prompts
| # keys will be retrieved automatically with 2 prompts when starting disp client vm
|
# dom0: nano ~/ssh-setup.sh
| dom0: nano ~/ssh-setup.sh
|
qvm-prefs disp-ssh netvm sys-whonix-obfs4
| qvm-prefs disp-ssh netvm sys-whonix
|
# dom0: chmod 700 ~/ssh-setup.sh
# dom0: ~/ssh-setup.sh
| dom0: chmod 700 ~/ssh-setup.sh
dom0: ~/ssh-setup.sh
|
# dom0: nano /etc/qubes/policy.d/50-ssh.policy
| dom0: nano /etc/qubes/policy.d/50-ssh.policy
|
# qubes.SshAgent * disp-ssh @default ask default_target=>
# qubes.SshAgent * disp-ssh app-ssh-keyring ask
# qubes.SshAgent * @anyvm app-ssh-keyring deny
| qubes.SshAgent * disp-ssh @default ask default_target=>
qubes.SshAgent * disp-ssh app-ssh-keyring ask
qubes.SshAgent * @anyvm app-ssh-keyring deny
|
# dom0: qvm-run app-ssh-keyring xterm
# xterm: ssh-keygen -t ed25519 -a 500
| dom0: qvm-run app-ssh-keyring xterm
xterm: ssh-keygen -t ed25519 -a 500
|
# xterm: qvm-copy-to-vm disp-ssh /home/user/.ssh/id_ed25519.pub
# xterm: exit
| xterm: qvm-copy-to-vm disp-ssh /home/user/.ssh/id_ed25519.pub
xterm: exit
|
# dom0: qvm-run disp-ssh xfce4-terminal
# xfce4-terminal: cat /home/user/.ssh/id_ed25519.pub
| dom0: qvm-run disp-ssh xfce4-terminal
xfce4-terminal: cat /home/user/QubesIncoming/app-ssh-keyring/id_ed25519.pub
|
# dom0: qvm-shutdown app-ssh-keyring disp-ssh
| dom0: qvm-shutdown app-ssh-keyring disp-ssh
|
# dom0: qvm-run disp-ssh xfce4-terminal
| dom0: qvm-run disp-ssh xfce4-terminal
|
#
# xfce4-terminal: ssh user@ip.adress | # example to establish connection
xfce4-terminal: ssh user@ip.adress |