paramikoを使用してssh経由でリモートサーバーに接続しています。公開鍵を使用して認証する場合、パフォーマンスは遅くなります(約90秒)。関連するログ出力は次のとおりです。
2012-05-14 17:37:21,378 Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
2012-05-14 17:37:21,378 using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none
2012-05-14 17:37:21,481 Switch to new keys ...
2012-05-14 17:37:21,483 Adding ssh-rsa host key for 10.12.34.56: 8a05c68a0707a9fad19290c22542a338
2012-05-14 17:37:21,485 Trying discovered key 3793c7b9c500f52c12e190e92e21713f in /home/david/.ssh/id_rsa
2012-05-14 17:37:21,513 userauth is OK
2012-05-14 17:38:54,370 Authentication (publickey) successful!
ログ出力の最後の2行の間の遅延に注意してください。sshを使用して同じユーザーとリモートサーバーのコマンドラインから接続する場合、接続は瞬時に行われます。遅延の原因となっているアイデアはありますか?