Skip to content

Instantly share code, notes, and snippets.

@paresharma
Created January 30, 2017 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paresharma/bfc3e315903a5d9486342d625caa655f to your computer and use it in GitHub Desktop.
Save paresharma/bfc3e315903a5d9486342d625caa655f to your computer and use it in GitHub Desktop.
#!/bin/bash
PASSWORD=$(echo $(security 2>&1 >/dev/null find-generic-password -ga sshme) | cut -d\" -f2)
~/.sshme.exp $1 $PASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment