Skip to content
/ psm Public

A cross-platform cli tool for multi remote SSH server management.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

NitronPlus/psm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT/Apache-2.0

Personal SSH server Management Tool

Introduction

A cross-platform cli tool for multi remote SSH server management.

Change Log

Requirements

ssh and scp installed on system.

Usage

Show list

> psm ls

Create a server alias

> psm new alias_name username@host[:port] (port is optional, default is 22)

Connect to an aliased server

> psm alias_name
> psm go alias_name

Rename an alias

> psm mv old_alias_name new_alias_name

Remove an alias

> psm rm alias

Modify alias

> psm upd alias_name username@host[:port] 

Copy RSA public key to server

> psm ln alias_name

Copy local file/dir to remote server

> psm cp path/to/source alias_name:path/to/destination
# Recursively copy entire directories
> psm cp -r path/to/dir alias_name:path/to/destination

Configure PSM

# set ssh_client path
> psm set -c "C:\path\to\ssh_client" 
# set server file path 
> psm set -s "C:\path\to\server.json" 
# set public key path
> psm set -k "C:\path\to\id_rsa.pub" 
# set server file path and public key path in one time
> psm set -s "C:\path\to\server.json" -k "C:\path\to\id_rsa.pub"   

Show command/subcommand help

# show command help info
> psm help  
# show specify subcommand help info
> psm help subcommand  

Todo

  • Basic feature (List/Create/Remove/Rename/Modify/Connect)
  • Copy RSA public key to server
  • Different RSA key for each alias
  • Config use cli
  • Test

License

Licensed under either of

at your option.

About

A cross-platform cli tool for multi remote SSH server management.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages