Closed lundin closed 4 months ago
I managed to get it working with the sshdb tunnel pkg, i will do a pull request to him for adding go-ora as an oracle option :)
A pull request in that repo with go-ora has now been added https://github.com/jfcote87/sshdb/
useful for me in this situation, however should not be needed in normal cases.
Hi,
Trying to run go-ora over ssh due to currently the VM i am running this go program from is having blocked outgoing traffic (on specific port 1521). However i am able to ssh into another machine that has the ability to connect to Oracle on 1521. Of course the best is the add new rules to the gateway/ip route tables but until then i would like to use the db connection via a ssh connection similar to: https://github.com/jfcote87/sshdb
I tried something below which i am unsure is even correct, however get a
ssh: tcpChan: deadline not supported