Skip to content

Instantly share code, notes, and snippets.

@jeremygaither
Last active August 10, 2022 12:29
Show Gist options
  • Save jeremygaither/7936cff22ec7e7c355fc230df649a16d to your computer and use it in GitHub Desktop.
Save jeremygaither/7936cff22ec7e7c355fc230df649a16d to your computer and use it in GitHub Desktop.

Revisions

  1. jeremygaither renamed this gist Aug 10, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. jeremygaither revised this gist Aug 10, 2022. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions content.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,8 @@
    # unlock macOS vaults from command line (eg: over ssh)

    ```bash
    #!/usr/bin/env bash

    security -i unlock-keychain ~/Library/Keychains/vaultname.keychain-db
    security -i unlock-keychain ~/Library/Keychains/login.keychain-db
    ```
  3. jeremygaither revised this gist Aug 10, 2022. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion content.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    # unlock macOS vaults from command line (eg: over ssh)
    #!/usr/bin/env bash

    security -i unlock-keychain ~/Library/Keychains/aws-vault.keychain-db
    security -i unlock-keychain ~/Library/Keychains/vaultname.keychain-db
    security -i unlock-keychain ~/Library/Keychains/login.keychain-db
  4. jeremygaither created this gist Aug 10, 2022.
    4 changes: 4 additions & 0 deletions content.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    #!/usr/bin/env bash

    security -i unlock-keychain ~/Library/Keychains/aws-vault.keychain-db
    security -i unlock-keychain ~/Library/Keychains/login.keychain-db