Re: Python 3 and SSH Tunnel

2013-08-10 Thread Veritatem Ignotam
I think I missed an earlier thread of this and I'm not quite sure what your application is, but properly allocating user permissions on your databases should eliminate any security concerns there. Also, for the tunnel, whether you're using one account or multiple (one for each user), those acco

Re: Python 3 and SSH Tunnel

2013-08-10 Thread D. Xenakis
What about the security though? To be specific, i need to create an application (python 3.3 strictly) where users will save/load their settings online to a remote hosted database. I do not wish to change the database from listening to any other thing than localhost for security reasons, so i a

Re: Python 3 and SSH Tunnel

2013-08-09 Thread Bernd Waterkamp
D. Xenakis schrieb: > I've played with putty to achieve this but to be honest i'd like > something more efficient. Opening putty everytime and making all the > connection settings etc, and then running the programm, is kinda messy. > Id like this to be done in an automatic way from the program so

Re: Python 3 and SSH Tunnel

2013-08-08 Thread Chris Angelico
On Fri, Aug 9, 2013 at 1:50 AM, D. Xenakis wrote: >> Alternatively, can you use PostgreSQL instead? :) > > Yes there is such an option to be honest. > Would that be helpfull instead of MySQL? It would, mainly because it's simply a better database engine. Everything to do with tunneling is going t

Re: Python 3 and SSH Tunnel

2013-08-08 Thread Chris Angelico
On Fri, Aug 9, 2013 at 1:46 AM, D. Xenakis wrote: > I've played with putty to achieve this but to be honest i'd like something > more efficient. Opening putty everytime and making all the connection > settings etc, and then running the programm, is kinda messy. Id like this to > be done in an a

Re: Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
> Alternatively, can you use PostgreSQL instead? :) Yes there is such an option to be honest. Would that be helpfull instead of MySQL? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
> > HOWTO anyone? > > > > > > What im trying to succeed here is create one SSH tunnel, so that i can > > connect from a python script running on my pc, to a remote MySQL database > > running on my Host and id like to stick with Python 3.3 . > > > > > > I contacted my host and he informed me

Re: Python 3 and SSH Tunnel

2013-08-08 Thread Chris Angelico
On Thu, Aug 8, 2013 at 8:30 PM, D. Xenakis wrote: > HOWTO anyone? > > What im trying to succeed here is create one SSH tunnel, so that i can > connect from a python script running on my pc, to a remote MySQL database > running on my Host and id like to stick with Python 3.3 . > > I contacted my

Re: Python 3 and SSH Tunnel

2013-08-08 Thread Skip Montanaro
On Thu, Aug 8, 2013 at 2:30 PM, D. Xenakis wrote: > HOWTO anyone? > > What im trying to succeed here is create one SSH tunnel, so that i can > connect from a python script running on my pc, to a remote MySQL database > running on my Host and id like to stick with Python 3.3 . http://lmgtfy.com/

Python 3 and SSH Tunnel

2013-08-08 Thread D. Xenakis
HOWTO anyone? What im trying to succeed here is create one SSH tunnel, so that i can connect from a python script running on my pc, to a remote MySQL database running on my Host and id like to stick with Python 3.3 . I contacted my host and he informed me that this is the only way. I tried pyc