I'm using Python subprocess to run a command on a remote server:
p=subprocess.Popen('ssh [email protected] "sudo do_something"', shell=True) When I type the password, it appears on the screen - as opposed to running this from the shell, where the password is hidden.
Is there a way to disable this input echo?
fabricmight be useful to run a command on a remote server.