ssh_cmd is not immutable when it's a list (that was the reason for using a set). I don't know whether this is a problem or not. I just wanted to constrain the later use of this variable, but maybe that's a lost cause when using python anyway.. :)