An API for ssh_scan (https://github.com/mozilla/ssh_scan) and the backend API service for the Mozilla SSH Observatory (https://observatory.mozilla.org/)
bae5217da1 | ||
---|---|---|
bin | ||
config | ||
cron | ||
data | ||
database | ||
db | ||
docker | ||
examples | ||
lib | ||
nginx | ||
scripts | ||
spec | ||
.gitignore | ||
.rspec | ||
.travis.yml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
Dockerfile | ||
Gemfile | ||
README.md | ||
Rakefile | ||
build_and_deploy_to_dockerhub.sh | ||
config.ru | ||
docker-compose.yml | ||
ssh_scan_api.gemspec |
README.md
WARNING Deprecated - please use ssh_scan from command-line
ssh_scan_api
A web api to scale ssh_scan operations
Setup
To install and run from source, type:
# clone repo
git clone https://github.com/mozilla/ssh_scan_api.git
cd ssh_scan_api
# install rvm,
# you might have to provide root to install missing packages
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable
# install Ruby 2.3.1 with rvm,
# again, you might have to install missing devel packages
rvm install 2.3.1
rvm use 2.3.1
# resolve dependencies
gem install bundler
bundle install
./bin/ssh_scan_api
ssh_scan as a command-line tool?
This project is focused on providing ssh_scan as a service/API.
If you would like to run ssh_scan from command-line, checkout the ssh_scan project.
Rubies Supported
This project is integrated with travis-ci and is regularly tested to work with multiple rubies.
To checkout the current build status for these rubies, click here.
Contributing
If you are interested in contributing to this project, please see CONTRIBUTING.md.
Credits
Sources of Inspiration for ssh_scan
- Mozilla OpenSSH Security Guide - For providing a sane baseline policy recommendation for SSH configuration parameters (eg. Ciphers, MACs, and KexAlgos).