Giter Site home page Giter Site logo

lili19810920 / git2-msvstfs-ssh-patch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from progrand/git2-msvstfs-ssh-patch

0.0 2.0 0.0 14 KB

libgit2 for Visual Studio 2015 ssh public key authentication enabler

License: GNU General Public License v3.0

git2-msvstfs-ssh-patch's Introduction

git2-msvstfs-ssh-patch

libgit2 for Visual Studio 2015 ssh public/private key enabler

This patch for 'libgit2' allows usage of SSH public/private keys pair with ssh repositories (such as gitolite) in Visual Studio 2015. Key-pair can be produced by ssh-keygen utility included in "Git For Windows" toolset. Fork uses keys stored in %USERPROFILE%.ssh folder.

Compilation instructions are described in http://randomswdev.blogspot.it/2015/07/adding-ssh-support-to-visual-studio.html

in short:

  • obtain cmake 3.3.0, python 2.7.10, libssh2 1.6.0
  • unpack libgit2-src.zip from VisualStudio2015 destination folder.
  • perform:
    cd c:\dev\libgit2
    mkdir build && cd build
    cmake -DEMBED_SSH_PATH=C:/dev/libssh2 -DSTDCALL=ON ..

Above instructions allows generic SSH usage, and following patching command establishes %USERPROFILE%.ssh\id_rsa file support.

$ patch src/transports/ssh.c < ssh.c.patch

git2-msvstfs-ssh-patch's People

Contributors

progrand avatar

Watchers

James Cloos 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.