Skip to content

SSH bookmarks that remember the history of ssh command.

Notifications You must be signed in to change notification settings

jiangpengcheng/sshm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

sshm

A simple SSH bookmarks script that help remember the history of ssh command.

Install

Just put sshm and sshm-update into /usr/local/bin or somewhere else.

Run commands below to init:

mkdir ~/.sshm
touch ~/.sshm/.data

And add the follow lines to ~/.bashrc or any other shell's rc file:

ssh() {
  /usr/bin/ssh "$@" && sshm-update "$*"
}

Source the rc file or logout/login to make these lines activated.

That's all.

Usage

Run sshm and it will show you enough help messages.

About

SSH bookmarks that remember the history of ssh command.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages