Code Monkey home page Code Monkey logo

fbopenssh's Introduction

FBOpenSSH

FBOpenSSH is a fork of OpenSSH with a set of patches developed at Facebook which have been used in production for the past few years.

Facebook operates a large fleet of hosts and to support this the majority of patches fall into two areas:

  • Logging enhancements. These patches output extra logging to syslog which is consumed downstream. The structured log allow aggregated statistics of all aspects of SSH sessions.
  • Certificate handling. Facebook uses SSH certificates extensively and some changes to OpenSSH have been made to allow this.

This fork of OpenSSH is currently only built and deployed on Linux.

Documentation

The official documentation for OpenSSH are the man pages for each tool:

Building Portable OpenSSH

Dependencies

Portable OpenSSH is built using autoconf and make. It requires a working C compiler, standard library and headers, as well as zlib and libcrypto from either LibreSSL or OpenSSL to build. Certain platforms and build-time options may require additional dependencies.

Building a release

Releases include a pre-built copy of the configure script and may be built using:

tar zxvf openssh-X.Y.tar.gz
cd openssh
./configure # [options]
make && make tests

See the Build-time Customisation section below for configure options. If you plan on installing OpenSSH to your system, then you will usually want to specify destination paths.

Building from git

If building from git, you'll need autoconf installed to build the configure script. The following commands will check out and build portable OpenSSH from git:

git clone https://github.com/openssh/openssh-portable # or https://anongit.mindrot.org/openssh.git
cd openssh-portable
autoreconf
./configure
make && make tests

Build-time Customisation

There are many build-time customisation options available. All Autoconf destination path flags (e.g. --prefix) are supported (and are usually required if you want to install OpenSSH).

For a full list of available flags, run configure --help but a few of the more frequently-used ones are described below. Some of these flags will require additional libraries and/or headers be installed.

Flag Meaning
--with-pam Enable PAM support. OpenPAM, Linux PAM and Solaris PAM are supported.
--with-libedit Enable libedit support for sftp.
--with-kerberos5 Enable Kerberos/GSSAPI support. Both Heimdal and MIT Kerberos implementations are supported.
--with-selinux Enable SELinux support.

Code of Conduct

See the CODE_OF_CONDUCT file for details.

Contributors

See the CONTRIBUTING file for how to help out.

License

FBOpenSSH is BSD licensed. The original OpenSSH license can be found in the LICENSE file.

Reporting bugs

Bugs can be reported in the Github issue tracker for this repository.

fbopenssh's People

Contributors

djmdjm avatar daztucker avatar mouring avatar mfriedl avatar jonathangray avatar djm-google avatar ischwarze avatar botovq avatar github-cygwin avatar bluhm avatar 4a6f656c avatar nkadel avatar richardscothern avatar hogand avatar hallexander avatar sebastianbenoit avatar fobser avatar jcourreges avatar klemensn avatar natano avatar omoerbeek avatar semarie avatar stspdotname avatar inferno-chromium avatar alanyee avatar dag-erling avatar dodys avatar enh-google avatar cotequeiroz avatar hfreude 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.