SSHエラー:許可が拒否されました。もう一度やり直してください
Amazon ec2インスタンスを使用してUbuntuサーバーをセットアップしています。SSHを使用して、デスクトップ(ubuntuマシンでもある)をubuntuサーバーに接続する必要があります。 open-sshをubuntuサーバーにインストールしました。SSHを使用してubuntuサーバーに接続するには、ネットワークのすべてのシステムが必要です(pemまたはpubキーを介して接続する必要はありません)。 したがって、セキュリティグループ(AWS)の静的IPに対してSSHポート22を開きました。 私のSSHD-CONFIGファイルは次のとおりです。 # Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for Port 22 # Use these options to restrict which interfaces/protocols sshd will bind to #ListenAddress :: #ListenAddress 0.0.0.0 Protocol 2 # HostKeys for protocol …