Agent ssh en kde plasma

KDE Plasma

Afegim script d'inici: ~/.config/autostart-scripts/ssh-unlock.sh

#!/bin/sh
export SSH_ASKPASS=/usr/bin/ksshaskpass
/usr/bin/ssh-add $HOME/.ssh/id_rsa </dev/null

Executem l'script per primera vegada:

sh ~/.config/autostart-scripts/ssh-unlock.sh

Ens demanarà el password de la clau i podem especificar que no volem que
ens torni a preguntar.

D'aquesta manera ja podem treballar sense que ens pregunti cada vegada que la
utilitzem.

1 comment
  1. site
    site
    5 de Desembre de 2019 at 14:28

    Note It is possible to have multiple ssh-agent processes running, especially when configuring it initially took some effort and trials. These processes can be killed like any other process by running killall ssh-agent .

    Reply
Leave a Reply

Your email address will not be published. Required fields are marked *

Aquest lloc utilitza Akismet per reduir el correu brossa. Aprendre com la informació del vostre comentari és processada

%d bloggers like this: