Giter VIP home page Giter VIP logo

optools's Introduction

OP Tools

sum nice command line tools for 1password

currently includes:

Add-Ssh.ps1

add-ssh.sh

Powershell and bash script to add your ssh keys stored as documents (in 1password) to your running ssh agent.

Uses the one password cli tool (https://1password.com/downloads/command-line/)
and ssh-add to add your ssh keys stored in your 1password vault as documents to a running ssh agent.
You need to manually sign in once so the cli client is allowed to log into your account.
Manually signing in works like this: https://support.1password.com/command-line/.
ssh-add and op need to either be in your path or the current working directory.
ssh-add also needs to be alive and running. For windows10 i recommend just enabling OpenSSH.
By default all documents with tag "ssh" wil be added, this can be changed with the tag param.
the downloaded ssh keys will be deleted after adding them to the ssh agent

examples:

Add all documents with tag 'xyz' and signin address 'yourname.1password.com':
./Add-Ssh yourname xyz

Add all documents with tag 'ssh' in account with signin address 'yourname.1password.com':
./Add-Ssh yourname

optools's People

Contributors

sum-catnip avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.