Skip to content

Running DCV on http only (no https) via SSH port forwarding

0

Hi, I'd like to run DCV over an unencrypted protocol (http only, not https), is there anyway to do this?

I'm currently running a port forward over ssh to the DCV server on an ubuntu 20.04 instance, and because I don't have an appropriate SSL certificate for localhost, I keep getting SSL warnings in chrome that I'd prefer not to have.

I'm not looking to import a self signed ssl to chrome to remove the warnings, or provide an ssl that is registered correctly.

I've tried no-tls-strict=false, but that doesn't seem to work (maybe I'm using the wrong format)

Any help is appreciated

Cheers

asked 3 years ago1K views
2 Answers
1
Accepted Answer

AFAIK, NICE DCV does not support non-encrypted connections.

Alternatively, you can connect using NICE DCV native client. It will pop up a dialog box about untrusted connection only on first connection. Native clients can be downloaded from https://download.nice-dcv.com/

Subsequently, you can restrict your Ubuntu remote access to NICE DCV native clients only. Disable web browser client access by removing web viewer package, i.e.

sudo apt remove nice-dcv-web-viewer
AWS
EXPERT
answered 3 years ago
EXPERT
reviewed 2 years ago
0

To run ssh tunnel via port forwarding and run the DCV client:

  1. Port forwarding - ssh -L 8443:localhost:8443 ubuntu@<ec2 host>.amazonaws.com
  2. In the DCV client, use the hostname as localhost.
  3. Change the password to the 'ubuntu' user in the instance ( ssh will still only use the pem file ) and use the username and password to connect using DCV
AWS
answered 9 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.