久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <i id='T5UgU'><tr id='T5UgU'><dt id='T5UgU'><q id='T5UgU'><span id='T5UgU'><b id='T5UgU'><form id='T5UgU'><ins id='T5UgU'></ins><ul id='T5UgU'></ul><sub id='T5UgU'></sub></form><legend id='T5UgU'></legend><bdo id='T5UgU'><pre id='T5UgU'><center id='T5UgU'></center></pre></bdo></b><th id='T5UgU'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='T5UgU'><tfoot id='T5UgU'></tfoot><dl id='T5UgU'><fieldset id='T5UgU'></fieldset></dl></div>

    <legend id='T5UgU'><style id='T5UgU'><dir id='T5UgU'><q id='T5UgU'></q></dir></style></legend>
    1. <small id='T5UgU'></small><noframes id='T5UgU'>

        <tfoot id='T5UgU'></tfoot>

          <bdo id='T5UgU'></bdo><ul id='T5UgU'></ul>
      1. phpseclib - 我可以使用用戶名、密鑰和密碼進行連

        phpseclib - Can I connect using username, key and password (not a key passphrase)(phpseclib - 我可以使用用戶名、密鑰和密碼進行連接嗎(不是密鑰密碼))

          <tfoot id='4yfMB'></tfoot>

              1. <i id='4yfMB'><tr id='4yfMB'><dt id='4yfMB'><q id='4yfMB'><span id='4yfMB'><b id='4yfMB'><form id='4yfMB'><ins id='4yfMB'></ins><ul id='4yfMB'></ul><sub id='4yfMB'></sub></form><legend id='4yfMB'></legend><bdo id='4yfMB'><pre id='4yfMB'><center id='4yfMB'></center></pre></bdo></b><th id='4yfMB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='4yfMB'><tfoot id='4yfMB'></tfoot><dl id='4yfMB'><fieldset id='4yfMB'></fieldset></dl></div>

                <small id='4yfMB'></small><noframes id='4yfMB'>

                  <bdo id='4yfMB'></bdo><ul id='4yfMB'></ul>

                    <tbody id='4yfMB'></tbody>
                  <legend id='4yfMB'><style id='4yfMB'><dir id='4yfMB'><q id='4yfMB'></q></dir></style></legend>

                • 本文介紹了phpseclib - 我可以使用用戶名、密鑰和密碼進行連接嗎(不是密鑰密碼)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

                  抱歉,如果我在文檔中遺漏了這一點,但是否可以使用私鑰和密碼(不是我的私鑰的密碼)連接到 SFTP 服務(wù)器.

                  Apologies if I have missed this in the documentation but is it possible to connect to an SFTP server with a private key and a password (not a passphrase for my private key).

                  示例顯示了用戶名/密碼、用戶名/密鑰和用戶名/密鑰/密鑰密碼驗證類型.

                  The examples show username/password, username/key and username/key/key passphrase authentication types.

                  通過命令行連接時,我會收到輸入密碼的提示...

                  When connecting via the command line I would get this prompt for my password...

                  user@x.x.x.x 的密碼:

                  user@x.x.x.x's password:

                  希望這個庫可以處理這個問題嗎?

                  Hopefully this library can handle this?

                  否則,是否還有其他基于 PHP 的解決方案可能支持用戶名/密鑰和服務(wù)器密碼身份驗證?我在這里很靈活,如果需要可以安裝模塊.

                  Otherwise are there any other PHP based solutions that might support username/key and server password authentication? I'm quite flexible here and can install modules if need be.

                  編輯

                  感謝到目前為止的幫助...我已經(jīng)嘗試過你提到的 Neubert ,但這似乎不起作用.為了驗證連接到服務(wù)器需要什么,我在命令行上測試了這個.
                  sftp key user@ip - 按預(yù)期提示輸入密碼
                  sftp user@ip - 提示輸入密碼,但輸入正確后告訴我已通過身份驗證并部分成功".

                  Thanks for the help so far... I had tried what you mentioned Neubert but this didn't seem to work. And to verify what is necessary to connect to the server I tested this on the command line.
                  sftp key user@ip - Prompted for password as expected
                  sftp user@ip - Prompted for password but when entered correctly told I am "authenticated with partial success".

                  如果我可以使用密鑰和密碼進入,我認為對目錄和密鑰的權(quán)限應(yīng)該沒問題.

                  I think the permission on directories and keys should be fine if I can get in using key and then password.

                  我開始認為這個庫不支持我需要的東西.

                  I am starting to think this library doesn't support what I need.

                  推薦答案

                  phpseclib 支持多因素認證.以下是如何操作的示例:

                  phpseclib supports multi factor authentication. Here's an example of how to do it:

                  <?php
                  include('Net/SSH2.php');
                  include('Crypt/RSA.php')
                  
                  $rsa = new Crypt_RSA();
                  $rsa->loadKey(file_get_contents('/path/to/key.pem'));
                  
                  $ssh = new Net_SSH2('www.domain.tld');
                  if (!$ssh->login('username', 'pass1', $rsa)) {
                      exit('Login failed');
                  }
                  // this does the same thing as the above
                  //if (!$ssh->login($username, 'pass1') && !$ssh->login('username', $rsa)) {
                  //    exit('Login failed');
                  /
                                  
                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  enable SOAP on PHP(在 PHP 上啟用 SOAP)
                  Get received XML from PHP SOAP Server(從 PHP SOAP 服務(wù)器獲取接收到的 XML)
                  not a valid AllXsd value(不是有效的 AllXsd 值)
                  PHP SoapClient: SoapFault exception Could not connect to host(PHP SoapClient:SoapFault 異常無法連接到主機)
                  Implementation of P_SHA1 algorithm in PHP(PHP中P_SHA1算法的實現(xiàn))
                  Sending a byte array from PHP to WCF(將字節(jié)數(shù)組從 PHP 發(fā)送到 WCF)

                  <legend id='El3Aj'><style id='El3Aj'><dir id='El3Aj'><q id='El3Aj'></q></dir></style></legend>

                    • <tfoot id='El3Aj'></tfoot>

                        <small id='El3Aj'></small><noframes id='El3Aj'>

                          <tbody id='El3Aj'></tbody>
                          <bdo id='El3Aj'></bdo><ul id='El3Aj'></ul>

                            <i id='El3Aj'><tr id='El3Aj'><dt id='El3Aj'><q id='El3Aj'><span id='El3Aj'><b id='El3Aj'><form id='El3Aj'><ins id='El3Aj'></ins><ul id='El3Aj'></ul><sub id='El3Aj'></sub></form><legend id='El3Aj'></legend><bdo id='El3Aj'><pre id='El3Aj'><center id='El3Aj'></center></pre></bdo></b><th id='El3Aj'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='El3Aj'><tfoot id='El3Aj'></tfoot><dl id='El3Aj'><fieldset id='El3Aj'></fieldset></dl></div>
                            主站蜘蛛池模板: 久久久久久久国产精品影院 | 91精品国产综合久久婷婷香蕉 | 午夜伊人| 日韩久久精品电影 | 欧美激情国产精品 | 天堂一区 | 亚洲精品久久久久久一区二区 | 亚洲欧美日韩激情 | 亚洲国产一区二区在线 | 国产成人在线视频 | 一区二区视频 | 国产精品成人久久久久 | 中文字幕乱码一区二区三区 | 国产精品久久久久久久久久久久冷 | 日韩在线不卡 | 91视视频在线观看入口直接观看 | 久久精品视频免费观看 | 蜜桃视频在线观看www社区 | 日韩成人在线视频 | 欧美亚洲另类丝袜综合网动图 | 国产一级片久久久 | 成人免费在线观看 | 久久久精品 | 久久久久久国产精品免费免费狐狸 | 成人小视频在线观看 | 久久久精品 | 夜夜久久| 色www精品视频在线观看 | 在线不卡视频 | 免费在线观看一区二区 | 免费福利视频一区二区三区 | 男女爱爱网站 | 四虎网站在线观看 | 成人三区 | 九九精品在线 | 免费精品 | 久草视频2| 九九久久久| 成人性视频免费网站 | 欧美日韩在线精品 | 国产一区二区三区在线 |