Home | History | Annotate | Download | only in common_lib

Lines Matching defs:login

2 This adds methods for login, logout, and expecting the shell prompt.
21 connections. This adds methods for login, logout, and expecting the shell
23 login process. For example, if the session is your first login, then pxssh
41 s.login (hostname, username, password)
53 print "pxssh failed on login."
70 s.login (hostname, username, password)
159 def login (self,server,username,password='',terminal_type='ansi',original_prompt=r"[#$]",login_timeout=10,port=None,auto_prompt_reset=True):
162 'original_prompt' to try to find the prompt right after login. When it
170 then this will not necessarily cause the login to fail. In the case of
175 then login() raises an ExceptionPxssh exception.
235 #can't be sure, but it's safe to guess that we did login because if
244 raise ExceptionPxssh ('unexpected login response')
273 called login() with auto_prompt_reset set to False then you should have
286 unambiguously. This method is called automatically by the login()
295 should call login() with auto_prompt_reset=False; then set the PROMPT