SSHifu Server: OAuth Gateway and Certificate Authority

0.10.0 · active · verified Sun Apr 19

sshifu-server is an SSH authentication server that integrates an OAuth gateway with a certificate authority, issuing short-lived SSH certificates. It provides authentication against GitHub organizations and generic OIDC providers, including Authentik, Google Workspace, Okta, and Auth0. Currently at version 0.10.0, the project maintains an active release cadence, with several feature and bugfix releases in the past year. Key differentiators include its lightweight architecture, requiring minimal infrastructure with no external database, its seamless integration of OAuth for SSH, and its ability to act as a full certificate authority to enhance SSH security by reducing reliance on long-lived keys. The core server logic is implemented in Go, with the npm package serving as a wrapper for distribution and installation.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to quickly run sshifu-server using npx or install it globally and then run the CLI. It highlights the interactive configuration process.

#!/usr/bin/env bash

# Quick start using npx without global installation
echo "Starting sshifu-server via npx..."
npx sshifu-server

# --- OR ---

# Global installation for frequent use
echo "\nInstalling sshifu-server globally..."
npm install -g sshifu-server

# Run the globally installed server
echo "\nStarting globally installed sshifu-server..."
sshifu-server

echo "\nFollow the prompts to configure GitHub OAuth credentials, Certificate Authority (CA) settings, and server listen address."

view raw JSON →