跳至主要內容
找不到符合的
  • 關於我
HC!專注於LAMP技術的技術部落客
  • 關於我
HC!專注於LAMP技術的技術部落客

php deployer:ssh2_auth_pubkey_file()

  • HCHC
  • 2016-02-01
  • deployer, Php

最近安裝deployer這套工具,遇到了以下問題:
ssh2_auth_pubkey_file(): Authentication failed for xxxx using public key: Username/PublicKey combination invalid

解法:

cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys2 

 

參考:ssh2_auth_pubkey_file

Related posts:

  1. php deployer:Could not open a connection to your authentication agent.
HC
HC
文章: 245

相關文章

解決Ubuntu inodes 過大導致空間不足問題:No space left on device

  • 2020-12-04

在Ubuntu 20.04 安裝Apche+mysql+php+phpmyadmin

  • 2020-10-20

Ubuntu 16.04:安裝php7.4

  • 2020-09-10
版權 © 2025 - WordPress 佈景主題由 CreativeThemes 開發