Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

give example in manual usage instructions #44

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

afeld
Copy link
Contributor

@afeld afeld commented Dec 31, 2017

Prints the command used without -no-client, if available.

$ cf connect-to-service -no-client myapp mydb
Finding the service instance details...
Setting up SSH tunnel...
SSH tunnel created.
Skipping call to client CLI. Connection information:

Host: localhost
Port: 55228
Username: myuser
Password: mypass
Name: dbname

To connect:

    PGPASSWORD=mypass psql -h localhost -p 55228 dbname myuser

Leave this terminal open while you want to use the SSH tunnel. Press Control-C to stop.

LaunchCmd data structure inspired by #18 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant