pg-ssh-proxy

command module
v0.1.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 20 Imported by: 0

README

pg-ssh-proxy

Go Report Card

Postgresql SSH tunneling proxy server.

Work In Progress..

Usage

Usage of pg-ssh-proxy:
  -addr string
        listen address. (default "[::1]:5432")
  -config string
        config file. (default "~/.config/pg-ssh-proxy.toml")

Config

~/.config/pg-ssh-proxy.toml

[postgres]
addr = "10.88.0.2:5432"
#dbname = "postgres" # DEFAULT: SAME as entry name.

[postgres.ssh]
addr = "10.88.0.3:22"
#user = "guest" # DEFAULT: uid.
#identity = [ # DEFAULT: ~/.ssh/id_rsa, ~/.ssh/id_ed25519
#    "~/.ssh/id_rsa",
#    "~/.ssh/id_ed25519",
#]
#known_hosts = "~/.ssh/known_hosts" # DEFAULT: ~/.ssh/known_hosts

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL