johnsneakers
V2EX  ›  macOS

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

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

    [img] [/img]
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4692 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 01:19 · PVG 09:19 · LAX 17:19 · JFK 20:19
    ♥ Do have faith in what you're doing.