All Projects → userify → shim

userify / shim

Licence: other
The Userify Shim (cloud agent)

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to shim

Cashier
A self-service CA for OpenSSH
Stars: ✭ 590 (+935.09%)
Mutual labels:  ssh, openssh
Xxh
🚀 Bring your favorite shell wherever you go through the ssh.
Stars: ✭ 2,559 (+4389.47%)
Mutual labels:  ssh, openssh
Sshd config
K4YT3X's Hardened OpenSSH Server Configuration
Stars: ✭ 49 (-14.04%)
Mutual labels:  ssh, openssh
jsch
fork of the popular jsch library
Stars: ✭ 127 (+122.81%)
Mutual labels:  ssh, openssh
Curse
CURSE is an SSH certificate signing server, built as an alternative to Netflix's BLESS tool, but without a dependency on AWS.
Stars: ✭ 200 (+250.88%)
Mutual labels:  ssh, openssh
Wsl Ssh Pageant
A Pageant -> TCP bridge for use with WSL, allowing for Pageant to be used as an ssh-ageant within the WSL environment.
Stars: ✭ 381 (+568.42%)
Mutual labels:  ssh, openssh
Sidedoor
SSH connection daemon for Debian/Raspbian/Ubuntu/etc
Stars: ✭ 97 (+70.18%)
Mutual labels:  ssh, openssh
Sharkey
Sharkey is a service for managing certificates for use by OpenSSH
Stars: ✭ 360 (+531.58%)
Mutual labels:  ssh, openssh
Ansible Sshd
Ansible role to configure the OpenSSH server daemon
Stars: ✭ 163 (+185.96%)
Mutual labels:  ssh, openssh
Corkscrew
Corkscrew is a tool for tunneling SSH through HTTP proxies.
Stars: ✭ 149 (+161.4%)
Mutual labels:  ssh, openssh
Openssh Rs
Scriptable SSH through OpenSSH in Rust
Stars: ✭ 58 (+1.75%)
Mutual labels:  ssh, openssh
docker-sftp
SFTP Server for Docker
Stars: ✭ 118 (+107.02%)
Mutual labels:  openssh, openssh-server
Awesome Ssh
💻 A curated list of SSH resources.
Stars: ✭ 1,742 (+2956.14%)
Mutual labels:  ssh, openssh
aeneid
use your GitHub SSH keys to authenticate to sshd
Stars: ✭ 22 (-61.4%)
Mutual labels:  openssh, openssh-server
girltalk
A tool for helping stand up headless C2 for droppables.
Stars: ✭ 16 (-71.93%)
Mutual labels:  ssh, openssh
FastTunnel
expose a local server to the internet. 高性能跨平台的内网穿透解决方案 远程内网计算机 域名访问内网站点 反向代理内网服务 端口转发 http代理
Stars: ✭ 815 (+1329.82%)
Mutual labels:  ssh
piv-agent
An SSH and GPG agent which you can use with your PIV hardware security device (e.g. a Yubikey).
Stars: ✭ 31 (-45.61%)
Mutual labels:  ssh
dystopia
Low to medium multithreaded Ubuntu Core honeypot coded in Python.
Stars: ✭ 59 (+3.51%)
Mutual labels:  ssh
synpse
Synpse is an all-in-one solution to manage your servers and IoT devices providing declarative app deployment, SSH access and TCP tunnels
Stars: ✭ 17 (-70.18%)
Mutual labels:  ssh
switch-ssh-go
A packaged SSH library for switches (huawei,h3c,cisco)
Stars: ✭ 53 (-7.02%)
Mutual labels:  ssh

Userify Shim

Open Source agent for the Userify EC2 SSH Key Manager

Customizable deployment for enterprise datacenters and the cloud

Tour · Sign Up

The Userify shim creates users, manages sudo permissions, etc based on the user accounts that you've configured in the Userify web console (https://console.userify.com) or through the API. It wakes up once every 90 seconds, checks for things to do, and goes back to sleep.

The shim is designed to be extremely lightweight and easy to integrate and customize into cloudinit, chef recipes, puppet manifests, RPMs, DEBs,... We're here to help. If you experience any issues, let us know.

It has zero requirements beyond what is included in every major distribution today.

System Requirements

The Userify shim is very short (please read it for yourself) and only requires:

  • Linux 2.6 or later
  • curl (command-line), sudo
  • Python 2.6 or later (for httplib timeout, simplejson)
  • HTTPS access (currently proxies are not supported)

These basics are built-in to most Linux distributions made in the last five years, including Red Hat, Debian, Ubuntu, RHEL, CentOS, OpenSUSE, Gentoo, and derivatives.

Tested distributions: RHEL6, RHEL7, CentOS7, Amazon Linux, Ubuntu (min 10.04LTS), Debian (min 6). Although currently no BSD-based UNIX (incl OS X) is supported, we are looking forward to that soon.

What does the installer do?

  • Create /opt/userify and credentials file in it (creds.py)
  • Patch /etc/rc.local (/etc/init.d/after.local on SUSE) with a link to the daemon
  • Creates an uninstall script at /opt/userify/uninstall.sh
  • Kicks off shim every 90 seconds

Using older versions of Linux

Using an older Linux version such as RHEL5 where the default Python 2.4 is nearly ten years old? You'll need to install a Python 2.7 RPM (check DAG's repo) which will leave your existing Python 2.4 available for system usage. Then set the PYTHON environment variable to your new version of Python in /etc/rc.local as follows:

PYTHON=/usr/bin/python2.6 /opt/userify/shim.sh &

(Note: installer.sh will no longer start shim.sh automatically.)

Enterprise Support Available

For free integration support, please email [email protected].

To get signed up with a paid enterprise support package, please email [email protected].

Get In Touch

We are available to assist with questions, custom installations, directory integrations or deployments, self-hosted installations, and professional consulting. Please open an issue with your question or contact support for assistance.

Troubleshooting

I'm using a cloud-init.yml file but once my host is launched my userify users don't work

This could be caused by any number of things, but if cloud-init runs into issues before reaching your - curl ... command then any number of things could happen. Due to timing issues and the contents of your cloud-init.yml file this could happen all the time, or only very occasionally.

  1. Make sure you don't have multiple calls to installing the userify shim.
  2. If you have separate ssh access to the server: First, make sure you're logging the cloud-init output somewhere:
    output:
      all: '| tee -a /var/log/cloud-init-output.log'
    If you see something like the following in it:
    /opt/userify/shim.sh: line 26: -u: command not found
    curl: (23) Failed writing body (0 != 16011)
    
    then the userify shim isn't able to find python. As the shim also attempts to install python as part of the process, the most common cause of this is from a timing issue with the package installer. If you're able to, try uncommenting the packages section of your cloud-init file and see if that solves the problem.
  3. Contact support or open an issue.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].