screen dialog启动GNU屏幕会话的对话框
屏幕对话用于启动GNU屏幕会话的对话框,每个菜单项的默认操作是将其视为主机并打开相应的ssh会话。用法:将以下内容附加到您的.screenrc配置文件中: screen -t menu 0 ${HOME}/bin/s-dialog.pl
(相应地更改放置脚本的路径)。配置项将从$HOME/.s.conf
以简单的yaml格式加载:
screen : /usr/bin/screen
ssh : /usr/bin/ssh
sshproxyhost : jump-server.example.com
hostsfile : /home/username/.hosts
菜单项主机,该脚本在解析什么格式方面相当灵活。
-
普通主机名:
server01.example.com
-
带有用户名的主机名:
user@server01.example.com
-
带有用户名和标签注释的主机名:
#邮件服务器 user@server01.example.com
下载地址
用户评论