Difference between revisions of "Ssh tunnel"
Jump to navigation
Jump to search
(Created page with " ssh -L 1111:localhost:5432 [email protected]") |
|||
Line 2: | Line 2: | ||
ssh -L 1111:localhost:5432 [email protected] | ssh -L 1111:localhost:5432 [email protected] | ||
+ | psql -h localhost -p 1111 -U your-db-username database-name |
Revision as of 17:05, 3 February 2023
ssh -L 1111:localhost:5432 [email protected] psql -h localhost -p 1111 -U your-db-username database-name
Advertising: