Code Monkey home page Code Monkey logo

openssh-keychain's Introduction

openssh-keychain

OpenSSH mod to store passwords in OS X keychain. It's a patch to various versions of openssh, adding a hook to the code to store and retrieve passwords to/from OS X keychain. This guide describes the steps to install this patch on the openssh package distributed by MacPorts, but patch should work with other (source) distributions.

Installation (brew)

Run 'brew edit homebrew/dupes/openssh' and the following to the config, at 36th line:

  #
  # keychain patch
  patch do
    url "https://raw.githubusercontent.com/zoltansx/openssh-keychain/master/openssh-7.6p1.patch"
    sha256 "7356089e21efcaf2602c002a836c3ba32b213e19ef6e32ed4ae583500ba8c622"
  end

Install from sources with

brew install -v --build-from-source  openssh

Installation (MacPorts)

# We don't install the code, just make it ready for the patch
sudo port build openssh

# Note that parts of the path may vary, but it always starts with
# "/opt/local/var/macports/build/", i.e. can figured out easily.
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/work/openssh-6.6p1

sudo bash

patch < ~/openssh-6.6p1-keychain.patch
make install

License

MIT

openssh-keychain's People

Contributors

zoltansebestyen 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.