-
configure your devise authentication
- If using LDAP, modify config/ldap.yml to your environment
-
configure your database connection (config/database.yml)
-
modify your dotenv file from the .env.example
-
install gems
bundle install
-
start application
-
rails server
or
-
configure capistrano
config/deploy.rb config/deploy/staging.rb config/deploy/production.rb
-
and
cap deploy
The are two main ways to integrate OpenSSH and the Key Manager:
- Modify OpenSSH config with AuthorizedKeysCommand and the corresponding authorized_keys script
- RedHat 6 supports the AuthorizedKeysCommandRunAs directive (RedHat patched OpenSSH 5.3p1)
- RedHat 7 supports the AuthorizedKeysCommandUser directive(vanilla OpenSSH 6.6.1p1)
- Ubuntu 14/04 supports the AuthorizedKeysCommandUser directive (vanilla OpenSSH 6.6.1p1)
The Linux packages will install the proper sshd_config file and script, but you may need to modify the template for your environment
- Cron/Scheduler task
- RedHat 5 and below (and other wonky UNIXes with an old OpenSSH server) there is a bash script
The Linux packages will install the proper script, but you may need to modify the template for your environment
- Windows BitVise server there is a PowerShell script
The Windows MSI will install the proper PowerShell script, but you may need to modify the template for your environment
Rake tasks have are setup to create packages for Debian (Ubuntu), RedHat (RHEL, CentOS, Oracle Enterprise Linux), and Windows deployment (MSI).
-
Linux packages must be generated on Linux using fpm
rake sshkm_packages:unix:deb # builds Ubuntu package (.deb) rake sshkm_packages:unix:rpm # builds RedHat package (.rpm)
-
Windows MSIs must be created on Windows using Wix Toolset
**Wix binaries must be added to your windows PATH before MSI generation** rake sshkm_packages:windows:msi # builds Windows MSI
SSH Public Key Manager is released under the Apache 2.0 License.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request