Skip to content
/ MiSSH Public

Minimalist Session Manager for SSH/SFTP on Linux/OSX

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.pexpect
Notifications You must be signed in to change notification settings

LenxWei/MiSSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to

Minimalist Session Manager for SSH/SFTP

Design

  • store session information in .msh files, including various ssh cmdline options
  • use a password keeping service to store encrypted passwords in ~/.missh

Platforms

MiSSH is written in Python 2.7. It should work well on most POSIX platforms. I have tested it on Mac OSX, Linux and Cygwin.

Install

please use easy_install to install missh:

sudo easy_install missh

Upgrade:

sudo easy_install -U missh

Command line

missh [opt] [file_path]
-o open the session file
-n create a new session file
-m change the master password
-t timeout change the timeout of caching the master password, in minutes
-k kill the background password keeping service
-r reconnect automatically after disconnection
-f use sftp to connect the host
-h show the help information
-v verbose mode

Notice

Please DO NOT change the term size AFTER login, otherwise the term might get stuck. If it got stuck, you need to log out and log in again. This is a problem of the term, not MiSSH :)

Examples

  • missh host.msh
  • missh -o host.msh
  • missh -n new_host.msh
  • missh -f host.msh
  • missh -m
  • missh -t 120

Screen shots

Open or create a seesion file:

┌ MiSSH - test.msh ────────────────────────────────────────────────────────────┐
│                                                                              │
│ Host:           [email protected]:22                                             │
│ Password:       ---                                                          │
│ Other options:                                                               │
│                                                                              │
│ % set dynamic socks proxy                                                    │
│ -D 1080                                                                      │
│                                                                              │
│ % forward a local port to a service at a remote port, e.g. vnc @ host:1      │
│ % -L 5901                                                                    │
│ % -L 5901:1.2.3.4:5901                                                       │
│                                                                              │
│ % forward a remote port to a service at a local port                         │
│ % -R 8080                                                                    │
│                                                                              │
│ % sftp options use # as the line header                                      │
│ # -r                                                                         │
│                                                                              │
│                                                                              │
│                                                               Cancel    OK   │
└──────────────────────────────────────────────────────────────────────────────┘

Session file format

  • host = user@host:port
  • # there might be multiple lines of opt:
  • opt = -D 1080
  • opt = -L 5901
  • opt = -R 8080

Configuration file format

  • timeout = 120
  • master = NONCE,mi_hash(master_key)
  • host_sha256 = NONCE,key_encrypted_using_master1024_key_under_aes

License

BSD 2-Clause License at https://github.com/LenxWei/MiSSH/blob/master/COPYING

About

Minimalist Session Manager for SSH/SFTP on Linux/OSX

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.pexpect

Stars

Watchers

Forks

Packages

No packages published

Languages