Coder Social home page Coder Social logo

cygwin-sshpass's Introduction

Cygwin-sshpass

Run sshpass on Windows via Cygwin

Build requirements package (use latest verison)

  • autoconf
  • automake
  • binutils
  • cygport
  • gcc-core
  • git
  • make

You can use apt-cyg (https://github.com/transcode-open/apt-cyg) to install above packages, for example:

apt-cyg install wget autoconf automake binutils cygport gcc-core make git

Build instructions

git clone https://github.com/Edgar0119/cygwin-sshpass.git cygwin-sshpass
cd cygwin-sshpass
tar -zxvf sshpass-1.05.tar.gz
cd sshpass-1.05
bash ./configure
make

Now you can see sshpass.exe in the folder

Then move sshpass.exe to ${CygwinRoot}\bin\sshpass.exe

Reference

https://github.com/fd00/yacp/tree/master/sshpass

cygwin-sshpass's People

Contributors

edgar0119 avatar stylersnico avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cygwin-sshpass's Issues

sshpass seems to not work

I added a line to main so it could find waitpid.

I expect this

ssh -o StrictHostKeyChecking=no [email protected] "uname -a"
[email protected]'s password:
Linux outserv.cactus.org 2.6.18-409.el5 #1 SMP Tue Mar 15 18:22:22 EDT 2016 i686 i686 i386 GNU/Linux

when I run sshpass this happens:

$ ./sshpass.exe -pfoobar ssh -o StrictHostKeyChecking=no [email protected] "uname -a"

Owner@Owner-PC ~/AA_work/projects/cygwin-sshpass/sshpass-1.08

(No output)


Bummer, eh

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.