Lines Matching defs:login
2 This adds methods for login, logout, and expecting the shell prompt.
38 connections. This adds methods for login, logout, and expecting the shell
40 login process. For example, if the session is your first login, then pxssh
58 s.login (hostname, username, password)
70 print "pxssh failed on login."
87 s.login (hostname, username, password)
186 def login (self,server,username,password='',terminal_type='ansi',original_prompt=r"[#$]",login_timeout=10,port=None,auto_prompt_reset=True,ssh_key=None):
189 'original_prompt' to try to find the prompt right after login. When it
197 then this will not necessarily cause the login to fail. In the case of
202 then login() raises an ExceptionPxssh exception.
268 #can't be sure, but it's safe to guess that we did login because if
277 raise ExceptionPxssh ('unexpected login response')
306 called login() with auto_prompt_reset set to False then before calling
324 unambiguously. This method is called automatically by the login()
333 should call login() with auto_prompt_reset=False; then set the PROMPT