Help Center> Cloud Phone Host> FAQs> SSH Tunnel Faults> What Can I Do If Message "Permission denied" Is Displayed When I Am Establishing the SSH Tunnel?
Updated on 2022-11-29 GMT+08:00

What Can I Do If Message "Permission denied" Is Displayed When I Am Establishing the SSH Tunnel?

Description

Message "Permission denied" is displayed during the SSH tunnel establishment.

Figure 1 Permission denied

Handling Method

  1. Check whether the SSH tunnel username (project ID) in the command for establishing the SSH tunnel matches the region where the cloud phone is located.

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

    If the fault persists, go to 2.

  2. Check whether the cases of -L, -i, and -Nf in the command to establish the SSH tunnel are correct.

    If the fault persists, go to 3.

  3. Check whether the permissions of the private key file are correctly configured by referring to What Can I Do If Message "too open" Is Displayed When I Am Establishing the SSH Tunnel?.

    If the fault persists, go to 4.

  4. Change the local idle port for establishing the SSH tunnel.

SSH Tunnel Faults FAQs

more