npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

hostnextra-ssh-config

v1.0.1

Published

Official SSH configuration management plugin for the HostnExtra CLI.

Readme

HostnExtra SSH Config

Official SSH configuration management plugin for hostnextra.

Manage SSH servers using friendly names instead of remembering IP addresses, usernames and ports.

Features

  • Add SSH servers
  • List configured servers
  • Edit server configuration
  • Remove servers with confirmation
  • Connect using friendly names
  • Local JSON storage
  • Connection history
  • Automatic backups before deletion
  • Zero runtime dependencies
  • Cross-platform support

Requirements

  • Node.js 22 or later
  • OpenSSH client available in your system PATH
  • HostnExtra CLI (hostnextra)

Installation

Install the HostnExtra CLI.

npm install -g hostnextra

Install the SSH Config plugin.

hostnextra plugin add ssh-config

Verify the installation.

hostnextra plugin list

Example output:

Installed Plugins

✓ ssh-config

Update

Install the latest version of the plugin.

hostnextra plugin update ssh-config

Usage

All commands are available under:

hostnextra ssh

Show help.

hostnextra ssh help

Add a server

Minimum configuration:

hostnextra ssh add web-01 192.168.1.10

Specify a user.

hostnextra ssh add web-01 192.168.1.10 \
    --user root

Specify a custom SSH port.

hostnextra ssh add web-01 192.168.1.10 \
    --port 2222

Use a private key.

hostnextra ssh add web-01 192.168.1.10 \
    --identity-file ~/.ssh/id_ed25519

Add a description.

hostnextra ssh add web-01 192.168.1.10 \
    --description "Production web server"

Add tags.

hostnextra ssh add web-01 192.168.1.10 \
    --tags production,web

Use a jump host.

hostnextra ssh add web-01 192.168.1.10 \
    --proxy-jump bastion

Complete example.

hostnextra ssh add web-01 192.168.1.10 \
    --user ubuntu \
    --port 22 \
    --identity-file ~/.ssh/id_ed25519 \
    --proxy-jump bastion \
    --description "Production server" \
    --tags production,ubuntu

List servers

hostnextra ssh list

Connect

Connect using the configured server name.

hostnextra ssh connect web-01

The plugin launches your system's OpenSSH client using the stored configuration.

The plugin automatically applies:

  • Username
  • Port
  • Identity file
  • ProxyJump

Edit a server

Update the hostname.

hostnextra ssh edit web-01 \
    --host 10.0.0.15

Update the username.

hostnextra ssh edit web-01 \
    --user root

Update the SSH port.

hostnextra ssh edit web-01 \
    --port 2222

Rename a server.

hostnextra ssh edit web-01 \
    --name production

Update the identity file.

hostnextra ssh edit production \
    --identity-file ~/.ssh/id_rsa

Update tags.

hostnextra ssh edit production \
    --tags production,database

Remove a server

hostnextra ssh remove production

The plugin requests confirmation before deleting the server.

A backup is automatically created before removal.



# Help

```bash
hostnextra ssh help

Local Storage

Configuration files are stored locally.

~/.hostnextra/
├── backups/
├── history.json
├── servers.json
└── config.json

Configuration Fields

| Field | Description | |-------|-------------| | name | Friendly server name | | host | Hostname or IP address | | user | SSH username | | port | SSH port | | identity-file | Private SSH key | | proxy-jump | SSH jump host | | description | Optional description | | tags | Server tags |

Examples

Development server.

hostnextra ssh add dev 192.168.1.100 \
    --user developer \
    --identity-file ~/.ssh/id_ed25519

Production server.

hostnextra ssh add production 10.10.10.5 \
    --user ubuntu \
    --port 22 \
    --identity-file ~/.ssh/id_ed25519 \
    --tags production

Server behind a bastion host.

hostnextra ssh add database 172.16.0.20 \
    --user postgres \
    --proxy-jump bastion

Uninstall

Remove the plugin.

hostnextra plugin remove ssh-config

Your saved server configuration under ~/.hostnextra/ is not removed automatically.

License

MIT