CygwinのDropbear SSHはパスワードのないログインを許可しません。

CygwinのDropbear SSHはパスワードのないログインを許可しません。

私はCygwin、Windows 7、VMware仮想マシン、Windows 8.1で動作するDropbear SSHを使用しています。私の実際のOSにはCygwinがあり、Cygywinでopensshを使用してパスワードのないログインを試しています。これをビルドするには、LIBS="-lcrypt -lz"makeを渡してlibcryptとzlibを取得する必要があります。

ビルドしてインストールしたら、物理OSでクライアントのキーペアを作成し、ssh-keygen各Dropbearのマンページにコピーし~/.ssh/authorized_keysますdropbear -EF。 VMのDropbearデーモンが正常に起動し、Windowsタスクマネージャに表示されることを確認してからVMに接続しようとすると、というメッセージが表示されますPermission denied (publickey)。公開鍵ログイン以外のすべてのログインオプションを無効にしてDropbearを再コンパイルしてみましたが、まだ機能しません。

verbose オプションを使用してクライアントを実行すると、次の結果が表示されます。

Huachimichu@rootrockshooter ~
$ ssh -v -l povrch -x 192.168.91.128
OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014
debug1: Connecting to 192.168.91.128 [192.168.91.128] port 22.
debug1: Connection established.
debug1: identity file /home/Huachimichu/.ssh/id_rsa type 1
debug1: identity file /home/Huachimichu/.ssh/id_rsa-cert type -1
debug1: identity file /home/Huachimichu/.ssh/id_dsa type -1
debug1: identity file /home/Huachimichu/.ssh/id_dsa-cert type -1
debug1: identity file /home/Huachimichu/.ssh/id_ecdsa type -1
debug1: identity file /home/Huachimichu/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/Huachimichu/.ssh/id_ed25519 type -1
debug1: identity file /home/Huachimichu/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.5
debug1: Remote protocol version 2.0, remote software version dropbear_2014.63
debug1: no match: dropbear_2014.63
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA cc:62:15:b3:5a:4b:07:2c:e2:ef:03:ef:91:b6:9e:23
debug1: Host '192.168.91.128' is known and matches the RSA host key.
debug1: Found key in /home/Huachimichu/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/Huachimichu/.ssh/id_rsa
    debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/Huachimichu/.ssh/id_dsa
debug1: Trying private key: /home/Huachimichu/.ssh/id_ecdsa
debug1: Trying private key: /home/Huachimichu/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey).

ベストアンサー1

おすすめ記事