Composer\Downloader\TransportException

Composer\Downloader\TransportException

当运行此命令时。

composer update

然后我收到以下错误?

[Composer\Downloader\TransportException]                                                                
  The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code  
   1. OpenSSL Error messages:                                                                             
  error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol                                     
  Failed to enable crypto                                                                                 
  failed to open stream: operation failed 

答案1

OpenSSH(OpenBSD 安全外壳)在其 Universe 存储库中,这是一套基于 SSH 协议的安全相关网络级实用程序

sudo apt-get install openssh-server
sudo service ssh status

相关内容