Closed gemfield closed 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"'
具体用例,不适合添加在HomePod中。
添加F1~F5快捷键