3

I'm writing a simple control panel. It's going to be hosted on a single server, which communicates with other servers to do whatever it needs to. I need suggestions on how to do this securely, both from an authentication and an encryption standpoint. The only thing I've come up with so far is to use RSA keys to encrypt data on the master server and decrypt it on the slave, which would accomplish what I need but something seems flawed about it.

4 Answers 4

3

Use SSH.

See also: What is the simplest way to SSH using Python?

2
  • And it's more useful to use sshfs then FTP for file transefering. Author wrote about control panel for server :)
    – SkyFox
    Dec 20, 2011 at 12:36
  • This seems to me like the best way. Thanks!
    – Chris
    Dec 20, 2011 at 20:40
0

Stunnel is pretty handy. I like it since the code doesn't need to deal with encryption at all.

0

You could use SSL with client/server certificate validation.

Validate SSL certificates with Python

0

We are developing Versile Python, if you need object-level interaction with python objects over a secure channel you may want to have a look. You can use TLS or VTS to negotiate secure connections using RSA keys, or you can connect over SSH.

Other python object interaction frameworks you may want to consider are Pyro and RPyC.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.