
Untitled
By:
adam100 on
May 16th, 2012 | syntax:
None | size: 1.33 KB | hits: 38 | expires: Never
Traceback (most recent call last):
File "3.py", line 30, in <module>
child.expect('Password:')
File "/Library/Python/2.7/site-packages/pexpect.py", line 1311, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File "/Library/Python/2.7/site-packages/pexpect.py", line 1325, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
File "/Library/Python/2.7/site-packages/pexpect.py", line 1396, in expect_loop
raise EOF (str(e) + '\n' + str(self))
pexpect.EOF: End Of File (EOF) in read_nonblocking(). Empty string style platform.
<pexpect.spawn object at 0x10f8f5250>
version: 2.3 ($Revision: 399 $)
command: /usr/bin/ssh
args: ['/usr/bin/ssh', '-vNCD', '23333', 'USER@HOST']
searcher: searcher_re:
0: re.compile("Password:")
buffer (last 100 chars):
before (last 100 chars): ptions for *
ssh: Could not resolve hostname HOST: nodename nor servname provided, or not known
after: <class 'pexpect.EOF'>
match: None
match_index: None
exitstatus: None
flag_eof: True
pid: 95462
child_fd: 3
closed: False
timeout: 30
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1