emptyhua / sshgo

script for managing ssh hosts list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sshgo

script for managing ssh hosts list

screenshot

screenshot

~/.ssh_hosts example

#add `-` before the line can close node 
-Home
    root@192.168.1.106
Work
    root@comp1 -p 9999 #CentOS 5 X64
    root@comp2 -p 9999 #CentOS 6 X64
    root@comp3 -p 9999 #Debian 6 X64
VHost
    VMWare
        test@vm1
        test@vm2
        test@vm3
        test@vm4
    -VirtualBox:
        test@vbox1
        test@vbox2
        test@vbox3
        test@vbox4
MacOS
    hi@mymac

Keyboard shortcuts

  • exit: q
  • scroll up: k
  • scroll down: j
  • page up: u
  • page down: d
  • select host: space
  • search mode: /
  • exit from search result: q
  • expand tree node: o
  • collapse tree node: c
  • expand all nodes: O
  • collapse all nodes: C

About

script for managing ssh hosts list


Languages

Language:Python 100.0%