Help Center/ Cloud Phone Host/ FAQs/ SSH Tunnel Faults/ What Can I Do If the SSH Tunnel Fails to Be Established When I Access the Cloud Phone over the Public Network?
Updated on 2024-08-08 GMT+08:00

What Can I Do If the SSH Tunnel Fails to Be Established When I Access the Cloud Phone over the Public Network?

If the SSH tunnel fails to be established, check whether parameters in the following commands are correct.

ssh -L Local idle port:Cloud phone listening IP address: Cloud phone listening port SSH tunnel username@Public IP address -i Private key file path -Nf

  • Check whether the local idle port is occupied.
  • Ensure that you obtain the cloud phone listening port instead of the server listening port.
  • Check whether the SSH tunnel username is the project ID. For details, see How Do I Obtain the Project ID?.
  • Create a new key pair. On the Servers page, change the key pair of the server where the cloud phone is located. Wait for 1 to 2 minutes until the new key pair takes effect. Use the new private key file path to run the command again.