Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. # Load SSH keys
  2. Automatically load your SSH keys once.
  3.  
  4. Add the script to your `Microsoft.PowerShell_profile.ps1` file.
  5.  
  6. ```powershell
  7. If((ssh-add -l).Contains("no identities"))
  8. {
  9. ssh-add "C:\Users\<Username>\.ssh\<Filename>"
  10. }
  11. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement