<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                #### 安裝expect ```shell brew install expect ``` #### 編寫expect腳本 例如在`~/.ssh`下新建`login.exp`文件。 ```shell #!/usr/bin/expect -f # 第一個參數為目標server的ip set ip [lindex $argv 0 ] # 第二個參數為目標server的用戶名 set username [lindex $argv 1 ] # 第三個參數是端口號,默認22、 set port [lindex $argv 2] # 第四個參數為目標server的密碼 set mypassword [lindex $argv 3 ] set timeout 10 spawn ssh $username@$ip -p $port expect { # 如果返回的內容里面有'yes/no',則輸入yes "*yes/no" { send "yes\r"; exp_continue} # 如果返回的內容里面有assword(我們的server有些返回'password', 有些返回'Password')的文本, 則輸入密碼 "*assword:" { send "$mypassword\r" } } send_user "It's OK\r" interact ``` #### 在iTerm2中新建profile 例如profile叫`bl`,在`profile->general->command`中,輸入 ```sh ~/.ssh/login.exp {地址} {username} {password} ``` 之后,如需登陸,`command+o`,打開profile界面,選擇`bl`即可。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看