SSH tunnel and Python 3.3 -


i need create application (python 3.3 strictly) users save/load settings online remote hosted database. not wish change database listening other thing localhost security reasons, assume best solution me make program create ssh tunnels before saving/loading happens.

would policy make database unsecure?

how make work? tried installing paramiko not python 3+ ready. thought maybe include application's installation, putty tray , proper scripting can create tunnel, im looking clever , efficient here. ofcourse really prefer avoiding tray icons or shells appearing every time tunnel activate.

im asking here can hear opinion expirience. im lacking of :) . suggestion?

thx in advance

i dealing similar problems @ moment (trying use docker's remote api @ moment doesn't offer authentication). using bgtunnel, though i'm getting errors , (usually resolved webpage refresh) - @ first glance due trying establish connection when 1 exists. can solved using thread.isalive() stuff, in kind of messy managing connection - alive? should check before request or try , establish , redo api call on exception. it's bit tricky. i'm starting explore paramiko, hoping might bit easier handle python - process of porting python 3 seems finished @ moment.

that said, i'd expect decent database have good-enough baked-in authentication , encryption shouldn't afraid use remotely without ssh tunnelling. appears so answer postrges example can configured way. means can kick out ssh , that's 1 thing in stack less think of. working on implementing remote auth in docker's remote api too, @ point i'll gladly same :)


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -