Access app SSH using app GUID fails with an error `Permission denied, please try again`
search cancel

Access app SSH using app GUID fails with an error `Permission denied, please try again`

book

Article ID: 377989

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

There are methods to ssh into app containers with cf cli or without cf cli. Currently, the user can choose either the process GUID or app GUID to access the app without cf cli. 

In some scenarios, the user may encounter Permission denied, please try again error when using the app GUID to access the app even the correct ssh-code was pasted. 

$ ssh -p 2222 cf:abcdefab-1234-5678-abcd-1234abcd1234/[email protected]
......
cf:abcdefab-1234-5678-abcd-1234abcd1234/[email protected]'s password: 
Permission denied, please try again.

Resolution

The Tanzu product team has confirmed that accessing apps using app GUID might not be reliable sometime. Therefore, they are in the middle of removing the "Access app SSH using app GUID" section from the TAS doc and this method is not recommended anymore for the user to use. Going forward, please utilize either cf ssh or Access app SSH using process GUID (without cf CLI)

For example:

ssh -p 2222 cf:$(cf curl /v3/apps/$(cf app my-app --guid)/processes | jq -r '.resources[] | select(.type=="web") | .guid')/[email protected]