Saw this mail in the archive: http://www.lag.net/pipermail/paramiko/2007-December/000573.html Use the getpass module to read passwords: import getpass password = getpass.getpass() print "My big secret: '%s'" % password -- Venlig hilsen / Kind regards, Christian Vest Hansen.