johnsneakers
V2EX  ›  macOS

命令行终端怎么像 XShell 一样保存历史连接?

  •  
  •   johnsneakers · Dec 16, 2014 · 4181 views
    This topic created in 4191 days ago, the information mentioned may be changed or developed.
    每次都要去ssh 111.xxx 好烦躁,有没有方案啊。。
    11 replies    2014-12-17 22:42:07 +08:00
    cnfbi
        2
    cnfbi  
       Dec 16, 2014   ❤️ 1
    [img]http://i.niupic.comimages/2014/12/16/549051287023a.png[/img]
    [img]http://i.niupic.comimages/2014/12/16/5490515175935.png[/img]
    cnfbi
        3
    cnfbi  
       Dec 16, 2014
    见图
    cnfbi
        4
    cnfbi  
       Dec 16, 2014
    图牛图床有问题
    右击终端-新建远程连接
    bsder
        5
    bsder  
       Dec 16, 2014 via Android   ❤️ 1
    pip install storm 其实就是操作 ~/.ssh/config.但是这个可以有命令行,比手工编辑方便
    bsder
        6
    bsder  
       Dec 16, 2014 via Android
    pip install stormssh ,上面记错了
    Tink
        7
    Tink  
    PRO
       Dec 17, 2014   ❤️ 1
    shuttle
    NathanInMac
        8
    NathanInMac  
       Dec 17, 2014
    shuttle
    Ixizi
        9
    Ixizi  
       Dec 17, 2014
    弄成个shell脚本。
    missdeer
        10
    missdeer  
       Dec 17, 2014
    shuttle+1
    有钱就用SecureCRT吧
    sinoswiss
        11
    sinoswiss  
       Dec 17, 2014   ❤️ 1
    如果你经常需要ssh登录多个服务器,可以将shell命令(ssh user@host)保存在扩展名为command的可执行脚本中,然后按照分类将脚本放在不同的文件夹,拖动文件夹到Dock栏,这样就是一个ssh服务器的快捷入口,点击某个command脚本,自动打开终端并执行脚本登录。类似shuttle应用的效果

    [img] [/img]
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5852 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 104ms · UTC 06:13 · PVG 14:13 · LAX 23:13 · JFK 02:13
    ♥ Do have faith in what you're doing.