Ssh: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== SSH examples for abnormal tasks == Yes, I can never remember exactly how to get the !#$!@# port forwarding done correctly. Bah! ===SSH port forwarding for postgres=== * Accounting for possibility of using abnormal ssh ports and strange ssh keys. * Connect pgadmin to localhost:5432 and set your authentication <pre> export KEY=~/.ssh/some_key export PORT=2345 export JUMPBOX=192.168.15.58 ssh -i ${KEY} -p ${PORT} -L 5432:192.168.15.250:5432 SSH_USER@$${JUMPBOX} -N </p...") |
(No difference)
|
Latest revision as of 10:37, 15 April 2025
SSH examples for abnormal tasks
Yes, I can never remember exactly how to get the !#$!@# port forwarding done correctly. Bah!
SSH port forwarding for postgres
- Accounting for possibility of using abnormal ssh ports and strange ssh keys.
- Connect pgadmin to localhost:5432 and set your authentication
export KEY=~/.ssh/some_key export PORT=2345 export JUMPBOX=192.168.15.58 ssh -i ${KEY} -p ${PORT} -L 5432:192.168.15.250:5432 SSH_USER@$${JUMPBOX} -N