Amos Ho - 2014-04-15

I have the same problem.

below is the debug message with Expect DEBUG option in PAC and -vvv in ssh

=======================

CONNECTING WITH 'Demo - dac101' (Tue Apr 15 16:25:16 2014) =->

[pac_conn(25804)][dac101][Demo - dac101]: !!PAC_AUTH[pac_PID25045_n8]!!
[pac_conn(25804)][dac101][Demo - dac101]: PROXY_THREAD:Waiting for the thread to start the proxy tunnel...
[pac_conn(25804)][dac101][Demo - dac101]: PROXY_THREAD:Built tunnel to dac101:22 through proxy 127.0.0.1:8088 (/) using local port 60468...
[pac_conn(25804)][dac101][Demo - dac101]: SPAWNING:ssh -p 60468 -x -N -vvv -l userid localhost
[pac_conn(25804)][dac101][Demo - dac101]: SPAWNED:'ssh -p 60468 -x -N -vvv -l userid localhost' (PID:25804)
Starting EXPECT pattern matching...
at /usr/share/perl5/Expect.pm line 562, <CHILD> line 1.
Expect::expect('Expect=GLOB(0x13df610)', 40, 'ARRAY(0x1fc5d08)', 'ARRAY(0x1fc1b80)', 'ARRAY(0x1fd4738)', 'ARRAY(0x1fd7cc0)', 'ARRAY(0x1fd7e10)', 'ARRAY(0x1fd87d0)', 'ARRAY(0x1fd88c0)', ...) called at /opt/pac/lib/pac_conn line 1525
spawn id(3): list of patterns:
#2: -eof ' #3: -re\[PACSUDOPROMPT\]'
#4: -re ^.+ontinue connecting \\((.+)\\/(.+)\\)\\?\\s*$' #5: -re.(any key to continue|tecla para continuar).'
#6: -re .*ffending .*key in (.+?)\\:(\\d+).*' #7: -re([l|L]ogin|[u|U]suario|[u|U]ser-?[n|N]ame|[u|U]ser)\s:\s$'
#8: -re ([p|P]ass|[p|P]ass[w|W]or[d|t]|[c|C]ontrase.a|Enter passphrase for key )\\s*:\\s*$' #9: -re[#%\$>]|\:\/\s*$'

spawn id(3): Does ' match: pattern #2: -eof'? No.
pattern #3: -re \\[__PAC__SUDO__PROMPT__\\]'? No. pattern #4: -re^.+ontinue connecting \((.+)\/(.+)\)\?\s$'? No.
pattern #5: -re .*(any key to continue|tecla para continuar).*'? No. pattern #6: -re.
ffending .key in (.+?)\:(\d+).'? No.
pattern #7: -re ([l|L]ogin|[u|U]suario|[u|U]ser-?[n|N]ame|[u|U]ser)\\s*:\\s*$'? No. pattern #8: -re([p|P]ass|[p|P]ass[w|W]or[d|t]|[c|C]ontrase.a|Enter passphrase for key )\s:\s$'? No.
pattern #9: -re `[#%\$>]|\:\/\s*$'? No.

OpenSSH_6.6, OpenSSL 1.0.1f 6 Jan 2014

spawn id(3): Does OpenSSH_6.6, OpenSSL 1.0.1f 6 Jan 2014\r\r\n' match: pattern #2: -eof'? No.
pattern #3: -re \\[__PAC__SUDO__PROMPT__\\]'? No. pattern #4: -re^.+ontinue connecting \((.+)\/(.+)\)\?\s$'? No.
pattern #5: -re .*(any key to continue|tecla para continuar).*'? No. pattern #6: -re.
ffending .key in (.+?)\:(\d+).'? No.
pattern #7: -re ([l|L]ogin|[u|U]suario|[u|U]ser-?[n|N]ame|[u|U]ser)\\s*:\\s*$'? No. pattern #8: -re([p|P]ass|[p|P]ass[w|W]or[d|t]|[c|C]ontrase.a|Enter passphrase for key )\s:\s$'? No.
pattern #9: -re `[#%\$>]|\:\/\s*$'? No.

debug1: Reading configuration data /home/amos/.ssh/config
debug1: /home/amos/.ssh/config line 1: Applying options for
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for

debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 60468.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/amos/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/amos/.ssh/id_rsa type 1
debug1: identity file /home/amos/.ssh/id_rsa-cert type -1

spawn id(3): Does OpenSSH_6.6, OpenSSL 1.0.1f 6 Jan 2014\r\r\ndebug1: Reading configuration data /home/amos/.ssh/config\r\r\ndebug1: /home/amos/.ssh/config line 1: Applying options for *\r\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\r\ndebug2: ssh_connect: needpriv 0\r\r\ndebug1: Connecting to localhost [127.0.0.1] port 60468.\r\r\ndebug1: Connection established.\r\r\ndebug3: Incorrect RSA1 identifier\r\r\ndebug3: Could not load \"/home/amos/.ssh/id_rsa\" as a RSA1 public key\r\r\ndebug1: identity file /home/amos/.ssh/id_rsa type 1\r\r\ndebug1: identity file /home/amos/.ssh/id_rsa-cert type -1\r\r\n' match: pattern #2: -eof'? No.
pattern #3: -re \\[__PAC__SUDO__PROMPT__\\]'? No. pattern #4: -re^.+ontinue connecting \((.+)\/(.+)\)\?\s$'? No.
pattern #5: -re .*(any key to continue|tecla para continuar).*'? No. pattern #6: -re.
ffending .key in (.+?)\:(\d+).'? No.
pattern #7: -re ([l|L]ogin|[u|U]suario|[u|U]ser-?[n|N]ame|[u|U]ser)\\s*:\\s*$'? No. pattern #8: -re([p|P]ass|[p|P]ass[w|W]or[d|t]|[c|C]ontrase.a|Enter passphrase for key )\s:\s$'? No.
pattern #9: -re `[#%\$>]|\:\/\s*$'? No.

debug1: identity file /home/amos/.ssh/id_dsa type -1
debug1: identity file /home/amos/.ssh/id_dsa-cert type -1
debug1: identity file /home/amos/.ssh/id_ecdsa type -1
debug1: identity file /home/amos/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/amos/.ssh/id_ed25519 type -1
debug1: identity file /home/amos/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6p1 Ubuntu-2ubuntu1

spawn id(3): Does ...g options for *\r\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\r\ndebug2: ssh_connect: needpriv 0\r\r\ndebug1: Connecting to localhost [127.0.0.1] port 60468.\r\r\ndebug1: Connection established.\r\r\ndebug3: Incorrect RSA1 identifier\r\r\ndebug3: Could not load \"/home/amos/.ssh/id_rsa\" as a RSA1 public key\r\r\ndebug1: identity file /home/amos/.ssh/id_rsa type 1\r\r\ndebug1: identity file /home/amos/.ssh/id_rsa-cert type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_dsa type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_dsa-cert type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_ecdsa type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_ecdsa-cert type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_ed25519 type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_ed25519-cert type -1\r\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\r\ndebug1: Local version string SSH-2.0-OpenSSH_6.6p1 Ubuntu-2ubuntu1\r\r\n' match: pattern #2: -eof'? No.
pattern #3: -re \\[__PAC__SUDO__PROMPT__\\]'? No. pattern #4: -re^.+ontinue connecting \((.+)\/(.+)\)\?\s$'? No.
pattern #5: -re .*(any key to continue|tecla para continuar).*'? No. pattern #6: -re.
ffending .key in (.+?)\:(\d+).'? No.
pattern #7: -re ([l|L]ogin|[u|U]suario|[u|U]ser-?[n|N]ame|[u|U]ser)\\s*:\\s*$'? No. pattern #8: -re([p|P]ass|[p|P]ass[w|W]or[d|t]|[c|C]ontrase.a|Enter passphrase for key )\s:\s$'? No.
pattern #9: -re `[#%\$>]|\:\/\s*$'? No.

connect() failed with error '連線超過時間'
ssh_exchange_identification: read: Connection reset by peer
[pac_conn(25809)][dac101][Demo - dac101]: LOGFILE:Removing CONTROL characters

spawn id(3): Does ...ssh_config\r\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\r\ndebug2: ssh_connect: needpriv 0\r\r\ndebug1: Connecting to localhost [127.0.0.1] port 60468.\r\r\ndebug1: Connection established.\r\r\ndebug3: Incorrect RSA1 identifier\r\r\ndebug3: Could not load \"/home/amos/.ssh/id_rsa\" as a RSA1 public key\r\r\ndebug1: identity file /home/amos/.ssh/id_rsa type 1\r\r\ndebug1: identity file /home/amos/.ssh/id_rsa-cert type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_dsa type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_dsa-cert type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_ecdsa type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_ecdsa-cert type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_ed25519 type -1\r\r\ndebug1: identity file /home/amos/.ssh/id_ed25519-cert type -1\r\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\r\ndebug1: Local version string SSH-2.0-OpenSSH_6.6p1 Ubuntu-2ubuntu1\r\r\nssh_exchange_identification: read: Connection reset by peer\r\r\n' match: pattern #2: -eof'? No.
pattern #3: -re \\[__PAC__SUDO__PROMPT__\\]'? No. pattern #4: -re^.+ontinue connecting \((.+)\/(.+)\)\?\s$'? No.
pattern #5: -re .*(any key to continue|tecla para continuar).*'? No. pattern #6: -re.
ffending .key in (.+?)\:(\d+).'? No.
pattern #7: -re ([l|L]ogin|[u|U]suario|[u|U]ser-?[n|N]ame|[u|U]ser)\\s*:\\s*$'? No. pattern #8: -re([p|P]ass|[p|P]ass[w|W]or[d|t]|[c|C]ontrase.a|Enter passphrase for key )\s:\s$'? No.
pattern #9: -re `[#%\$>]|\:\/\s*$'? No.

[pac_conn(25804)][dac101][Demo - dac101]: CLOSE:Connection ended by remote peer!!
[pac_conn(25804)][dac101][Demo - dac101]: DISCONNECTED:2:EOF
[pac_conn(25804)][dac101][Demo - dac101]: DISCONNECTING
[pac_conn(25804)][dac101][Demo - dac101]: DISCONNECTED
[pac_conn(25804)][dac101][Demo - dac101]: LOGFILE:Removing CONTROL characters

<-= DISCONNECTED (PRESS <ENTER> TO RECONNECT) (Tue Apr 15 16:25:18 2014)