パスワード入力はCtrl + Dでのみ応答し、パスワードを読み取ることはできません。

パスワード入力はCtrl + Dでのみ応答し、パスワードを読み取ることはできません。

build-key-pkcs12 userVPNユーザー用のいくつかのクライアントキーを生成するためにOpenWRT NSLU2で実行しようとしています。その部分に達しenter export password、SSH端末が完全に停止するまで、すべてがうまく機能します。 Enterは何もしません。プロンプトだけが中断され、入力は許可されません。 Windows 7ではPUTTYを使用しています。

私は注意を払ってきました。このガイド。

Telnetは同じことをします。

# cat /proc/version
Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Mar 24 00:20:13 UTC 2013

コマンド出力:

root@OpenWrt:/etc/easy-rsa/keys# build-key-pkcs12 u
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/easy-rsa/keys
Generating a 1024 bit RSA private key
.......++++++
...................++++++
writing new private key to 'u.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [UK]:
State or Province Name (full name) [(removed)]:
Locality Name (eg, city) [(removed)]:
Organization Name (eg, company) [N/A]:
Organizational Unit Name (eg, section) [N/A]:
Common Name (eg, your name or your server's hostname) [u]:
Name [George]:
Email Address [test@localhost]:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Using configuration from /etc/easy-rsa/openssl-1.0.0.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName           :PRINTABLE:'UK'
stateOrProvinceName   :PRINTABLE:'(hidden)'
localityName          :PRINTABLE:'(hidden)'
organizationName      :PRINTABLE:'N/A'
organizationalUnitName:PRINTABLE:'N/A'
commonName            :PRINTABLE:'u'
name                  :PRINTABLE:'George'
emailAddress          :IA5STRING:'test@localhost'
Certificate is to be certified until Aug  5 00:01:55 2025 GMT (3650 days)
Sign the certificate? [y/n]:y


1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
Enter Export Password: 

端末が衝突する場所です。私も同じ効果でWindows 7 Telnetを試しました。

この問題をどのように解決できますか?

このプログラムを使用せずにクライアントキーを生成する他の方法はありますか?

注:Enterキーを押しても何もしません。端末は Ctrl+C を含むどの入力にも応答しません。

**編集:Ctrl + Dを押すと端末が反応しますが、次のメッセージが表示されます。Can't read password

ベストアンサー1

おすすめ記事