RDPを自動的に起動しますか?

RDPを自動的に起動しますか?

現在、次のコマンドを使用してRDPセッションを開始しましたが、正常に動作します。

rds@rds:~/Downloads/FreeRDP$ xfreerdp /v:farm.company.com /d:company.com /g:rds.company.com /f /u:username /p:

現在、以下の内容がすべて表示され、証明書を2回受け入れる必要があります。

creating directory /home/rds/.config/freerdp
creating directory /home/rds/.config/freerdp/certs
creating directory /home/rds/.config/freerdp/server
Certificate details:
    Subject: OU = Domain Control Validated, CN = *.company.com
    Issuer: C = US, ST = Arizona, L = Scottsdale, O = "GoDaddy.com, Inc.", OU = http://certs.godaddy.com/repository/, CN = Go Daddy Secure Certificate Authority - G2
    Thumbprint: ab:5a:03:f5:23:06:ad:76:57:e0:4a:2c:1f:be:04:b8:13:5c:32:55
The above X.509 certificate could not be verified, possibly because you do not have the CA certificate in your certificate store, or the certificate has expired. Please look at the documentation on how to create local certificate store for a private CA.
Do you trust the above certificate? (Y/N) Y
Password: 
Certificate details:
    Subject: OU = Domain Control Validated, CN = *.company.com
    Issuer: C = US, ST = Arizona, L = Scottsdale, O = "GoDaddy.com, Inc.", OU = http://certs.godaddy.com/repository/, CN = Go Daddy Secure Certificate Authority - G2
    Thumbprint: ab:5a:03:f5:23:06:ad:76:57:e0:4a:2c:1f:be:04:b8:13:5c:32:55
The above X.509 certificate could not be verified, possibly because you do not have the CA certificate in your certificate store, or the certificate has expired. Please look at the documentation on how to create local certificate store for a private CA.
Do you trust the above certificate? (Y/N) 
Do you trust the above certificate? (Y/N) Y

パスワードの入力を求めるメッセージのみが表示されるようにこの設定を変更できますか?

ベストアンサー1

expectいつでも「信頼」質問に自動的に応答するスクリプトでラップできます。http://en.wikipedia.org/wiki/Expect

おすすめ記事