DeepVAC / MLab

“云上炼丹师”中的云
GNU General Public License v3.0
67 stars 16 forks source link

[新功能] 添加F1~F5快捷键 #34

Closed gemfield closed 3 years ago

gemfield commented 3 years ago

添加F1~F5快捷键

gemfield commented 3 years ago
#/etc/bash.bashrc
echo "Press F1 to login ai.gemfield.org..."
bind '"\eOP":"ssh -X -C -oServerAliveInterval=60 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null ai1.gemfield.org\n"'
bind '"\eOQ":"ssh -X -C -oServerAliveInterval=60 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null ai2.gemfield.org\n"'
bind '"\eOR":"ssh -X -C -oServerAliveInterval=60 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null ai3.gemfield.org\n"'
bind '"\eOS":"ssh -X -C -oServerAliveInterval=60 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null ai4.gemfield.org\n"'
bind '"\e[15~":"ssh -X -C -oServerAliveInterval=60 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null ai5.gemfield.org\n"'
gemfield commented 3 years ago

具体用例,不适合添加在HomePod中。