V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
johnsneakers
V2EX  ›  macOS

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

  •  
  •   johnsneakers · 2014 年 12 月 16 日 · 3992 次点击
    这是一个创建于 4049 天前的主题,其中的信息可能已经有所发展或是发生改变。
    每次都要去ssh 111.xxx 好烦躁,有没有方案啊。。
    11 条回复    2014-12-17 22:42:07 +08:00
    cnfbi
        2
    cnfbi  
       2014 年 12 月 16 日   ❤️ 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  
       2014 年 12 月 16 日
    见图
    cnfbi
        4
    cnfbi  
       2014 年 12 月 16 日
    图牛图床有问题
    右击终端-新建远程连接
    bsder
        5
    bsder  
       2014 年 12 月 16 日 via Android   ❤️ 1
    pip install storm 其实就是操作 ~/.ssh/config.但是这个可以有命令行,比手工编辑方便
    bsder
        6
    bsder  
       2014 年 12 月 16 日 via Android
    pip install stormssh ,上面记错了
    Tink
        7
    Tink  
    PRO
       2014 年 12 月 17 日   ❤️ 1
    shuttle
    NathanInMac
        8
    NathanInMac  
       2014 年 12 月 17 日
    shuttle
    Ixizi
        9
    Ixizi  
       2014 年 12 月 17 日
    弄成个shell脚本。
    missdeer
        10
    missdeer  
       2014 年 12 月 17 日
    shuttle+1
    有钱就用SecureCRT吧
    sinoswiss
        11
    sinoswiss  
       2014 年 12 月 17 日   ❤️ 1
    如果你经常需要ssh登录多个服务器,可以将shell命令(ssh user@host)保存在扩展名为command的可执行脚本中,然后按照分类将脚本放在不同的文件夹,拖动文件夹到Dock栏,这样就是一个ssh服务器的快捷入口,点击某个command脚本,自动打开终端并执行脚本登录。类似shuttle应用的效果

    [img] [/img]
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2672 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:20 · PVG 20:20 · LAX 04:20 · JFK 07:20
    ♥ Do have faith in what you're doing.