Skip to content

Instantly share code, notes, and snippets.

@holmeszyx
Created February 13, 2017 08:49
Show Gist options
  • Save holmeszyx/c09776b4ae3aff242e47dbaa8fd555cb to your computer and use it in GitHub Desktop.
Save holmeszyx/c09776b4ae3aff242e47dbaa8fd555cb to your computer and use it in GitHub Desktop.
auto import ssh keys. ignore request password every time.
#!/bin/sh
# saveing file at ~/.config/autostart/, let's it startup on system logined.
export SSH_ASKPASS="/usr/bin/ksshaskpass"
ssh-add < /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment