Home | History | Annotate | Download | only in examples

Lines Matching refs:hostname

7     --hostname : sets the remote host name to open an ssh connection to.
140 optlist, args = getopt.getopt(sys.argv[1:], 'h?d', ['help','h','?', 'hostname=', 'username=', 'password=', 'port=', 'watch'])
151 hostname = "127.0.0.1"
162 if '--hostname' in options:
163 hostname = options['--hostname']
168 print "Login for %s@%s:%s" % (username, hostname, port)
183 child.login (hostname, username, password)
289 username:password@hostname:port. All fields are options expcet hostname. A
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]*)')