Skip to content

SSH tunnels #33

@hillac

Description

@hillac

Hi, I have a feature request: SSH tunnels. To connect, in terminal I do ssh -N -i ~/.ssh/key -L 5433:{PGHOST}:{PGPORT} {sshuser}@{remotehost}, then I can connect normally using the forwarded port (5433), i.e. with connection string postgresql://{PGUSER}:{PGPASSWORD}@localhost:5433/{PGDATABASE}

Would be great if ssh tunnels could be handled in pgpad, just like other postures clients. You could use the 'ssh2' crate to create the tunnel.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions