Closed tylerlong closed 6 years ago
I just find that it is possible to use the bookmark feature to let command line support ssh tunnel.
We could even reduce number of CLI options (which has grown a bit) by using a single option to pass the host/port/user/pass like this:
--ssh=user:password@host:port
I dont use SSH with pgweb directly, only via bookmarks, so let me know what you think.
We could even extend the url option:
--url=postgresql://user:pass@host:port/db?sslmode=sslmode#ssh://user:pass@host:port?sshkey=~/.ssh/id_rsa
I am also OK with --ssh=user:password@host:port?sshkey=~/.ssh/id_rsa
The feature is already there, we should expose the feature via command line.
Closing due to no activity.
Add the following application options: