Home | History | Annotate | Download | only in examples

Lines Matching refs:password

9     --password : (optional) sets the password to login with
14 # Having the password on the command line is not a good idea, but
140 optlist, args = getopt.getopt(sys.argv[1:], 'h?d', ['help','h','?', 'hostname=', 'username=', 'password=', 'port=', 'watch'])
154 password = ""
169 if '--password' in options:
170 password = options['--password']
172 password = getpass.getpass('password: ')
183 child.login (hostname, username, password)
289 username:password@hostname:port. All fields are options expcet hostname. A
291 set to empty strings ''. Note that if your password has the '@' character
295 p = re.compile (r'(?P<username>[^@:]*)(:?)(?P<password>.*)(?!\\)@(?P<hostname>[^:]*):?(?P<port>[0-9]*)')
297 p = re.compile (r'(?P<username>)(?P<password>)(?P<hostname>[^:]*):?(?P<port>[0-9]*)')
300 d['password'] = d['password'].replace('\\@','@')