현재 다음 명령을 사용하여 RDP 세션을 시작했는데 제대로 작동합니다.
rds@rds:~/Downloads/FreeRDP$ xfreerdp /v:farm.company.com /d:company.com /g:rds.company.com /f /u:username /p:
현재 아래의 모든 내용이 표시되며 인증서를 두 번 수락해야 합니다.
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
답변2
--from-stdin
매개변수(예: 명령 포함 yes
)를 사용하면 FreeRDP가 사용자에게 인증서 확인과 같은 질문을 하지 않도록 할 수 있습니다. 또는 /cert-ignore
클라이언트 매개변수를 사용하십시오(권장되지 않음).