Mac sshw 使用

Posted dowhile

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Mac sshw 使用相关的知识,希望对你有一定的参考价值。

sshw

技术分享图片

ssh client wrapper for automatic login.

技术分享图片

install

use go get

go get -u github.com/yinheli/sshw/cmd/sshw

or download binary from releases.

config

put config file in ~/.sshw.

config example:

- { name: dev server fully configured, user: appuser, host: 192.168.8.35, port: 22, password: 123456 }
- { name: dev server with key path, user: appuser, host: 192.168.8.35, port: 22, keypath: /root/.ssh/id_rsa }
- { name: dev server with passphrase key, user: appuser, host: 192.168.8.35, port: 22, keypath: /root/.ssh/id_rsa, passphrase: abcdefghijklmn}
- { name: dev server without port, user: appuser, host: 192.168.8.35 }
- { name: dev server without user, host: 192.168.8.35 }
- { name: dev server without password, host: 192.168.8.35 }
- { name: ?? server with emoji name, host: 192.168.8.35 }

# server group 1
- name: server group 1
  children:
  - { name: server 1, user: root, host: 192.168.1.2 }
  - { name: server 2, user: root, host: 192.168.1.3 }
  - { name: server 3, user: root, host: 192.168.1.4 }

# server group 2
- name: server group 2
  children:
  - { name: server 1, user: root, host: 192.168.2.2 }
  - { name: server 2, user: root, host: 192.168.3.3 }
  - { name: server 3, user: root, host: 192.168.4.4 }

以上是关于Mac sshw 使用的主要内容,如果未能解决你的问题,请参考以下文章

python 一个终端代码片段,在mac上生成可启动的usb live CD,以运行类似ubuntu或debian的内容。

使用Mac命令别名,提升工作效率

原生支持苹果M1 Mac的VS Code稳定版来了,运行速度提升

Flutterflutter doctor 报错Android license status unknown. Run `flutter doctor --android-licenses‘(代码片段

如何在实时代码应用程序中的Mac OS X上收听特定的文本字符串

mvn命令异常:An error has occurred in Javadoc report generation: Unable to find javadoc command异常已解决(代码片段