Git Product home page Git Product logo

portknock's Introduction

These are tools to integrate port knocking with ssh and scp for bash.

INSTALL
-------

- run 'make install' as a user to put bash scripts in place
- make sure you source the script in your .bashrc or .bash_profile
  source $HOME/.bashrc.d/portknock

  (I have these lines in .bashrc to do so:

if test -e ~/.bashrc.d
then
  for f in ~/.bashrc.d/*
  do
    source $f
  done
fi

CONFIGURATION
--------------

- create a file in $HOME/.portknock with portknock sequences for your hosts:
  - one line per sequence
  - the first argument is a regexp for the hostname
  - the second argument is a comma-separated list of tcp ports to knock on
  - empty lines and lines starting with # are ignored

- to integrate seamlessly with ssh (for tools like git, ...) you can
  add a section to your .ssh/config file using ProxyCommand:

Host different.my.net
  HostName different.my.net
  ProxyCommand psshproxy %h %p

portknock's People

Stargazers

 avatar Francois Lebel avatar Stefan Morgenthaler avatar  avatar

Watchers

 avatar Marek Kowalski avatar James Cloos avatar

Forkers

jots

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.