Working:
NOT WORKING:www-data@CustA:/usr/lib/cgi-bin$ /home/www-data/BGP_LG_Proxy -targetid +=0 -commandid=0 -param=10.10.10.228 -ipv=IPV4 MIR -targetid=0-commandid=0-param=10.10.10.228-ipv=IPV4TARGET:0 COMMANDID:0 PARAMETER:10.10.10.228 IP Ver:IPV4 OSTYPE:IOXR HOST:10.10.10.13 CMD:ping % CMD:ping 10.10.10.228 # open_ex: ['ssh','-V'] # io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 60 at offset 0 #> 4f 70 65 6e 53 53 48 5f 37 2e 32 70 32 20 55 62 75 6e 74 75 2d 34 7 +5 62 75 6e 74 75 32 2e 31 2c | OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, #> 20 4f 70 65 6e 53 53 4c 20 31 2e 30 2e 32 67 20 20 31 20 4d 61 72 2 +0 32 30 31 36 0a | OpenSSL 1.0.2g 1 Mar 2016. # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 0 at offset 60 # leaving _io3() # _waitpid(5316) => pid: 5316, rc: 0, err: # OpenSSH version is 7.2p2 # ctl_path: /home/www-data/username-10.10.10.13-5315-584585, ctl_dir: +/home/www-data/ # set_error(0 - 0) # call args: ['ssh','-vvv','-o','ServerAliveInterval=1','-o','ControlP +ersist=no','-2MNx','-o','NumberOfPasswordPrompts=1','-o','PreferredAu +thentications=keyboard-interactive,password','-S','/home/www-data/use +rname-10.10.10.13-5315-584585','-l','username','10.10.10.13','--'] # master state jumping from _STATE_START to _STATE_LOGIN # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN # tracer attached, ssh pid: 5317, tracer pid: 5318 OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: resolving "10.10.10.13" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to 10.10.10.13 [10.10.10.13] port 22. debug1: Connection established. debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN debug1: Remote protocol version 2.0, remote software version Cisco-2.0 debug1: no match: Cisco-2.0 debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to 10.10.10.13:22 as 'username' debug3: hostkeys_foreach: reading file "/var/www/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /var/www/.ssh/known +_hosts:1 debug3: load_hostkeys: loaded 1 keys from 10.10.10.13 debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openss +h.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp25 +6,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange +-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha +1,ext-info-c debug2: host key algorithms: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512 +,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa- +sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@opens +sh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha +2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192- +ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-c +bc,aes192-cbc,aes256-cbc,3des-cbc debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192- +ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-c +bc,aes192-cbc,aes256-cbc,3des-cbc debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hm +ac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-e +tm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256 +,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hm +ac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-e +tm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256 +,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com,zlib debug2: compression stoc: none,zlib@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: diffie-hellman-group14-sha1,diffie-hellman-gro +up1-sha1 debug2: host key algorithms: ssh-rsa debug2: ciphers ctos: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc debug2: ciphers stoc: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc debug2: MACs ctos: hmac-sha1 debug2: MACs stoc: hmac-sha1 debug2: compression ctos: none debug2: compression stoc: none debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: diffie-hellman-group14-sha1 debug1: kex: host key algorithm: ssh-rsa debug1: kex: server->client cipher: aes128-cbc MAC: hmac-sha1 compress +ion: none debug1: kex: client->server cipher: aes128-cbc MAC: hmac-sha1 compress +ion: none debug1: sending SSH2_MSG_KEXDH_INIT debug2: bits set: 1036/2048 debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEXDH_REPLY # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN debug3: receive packet: type 31 debug1: Server host key: ssh-rsa SHA256:8t7tXh5nWhCGRevKBLgvnFNfkKGK6b +doqL0/pOFj5CY debug3: hostkeys_foreach: reading file "/var/www/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /var/www/.ssh/known +_hosts:1 debug3: load_hostkeys: loaded 1 keys from 10.10.10.13 debug1: Host '10.10.10.13' is known and matches the RSA host key. debug1: Found key in /var/www/.ssh/known_hosts:1 debug2: bits set: 1016/2048 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug2: set_newkeys: mode 0 debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS received debug2: key: /var/www/.ssh/id_rsa ((nil)) debug2: key: /var/www/.ssh/id_dsa ((nil)) debug2: key: /var/www/.ssh/id_ecdsa ((nil)) debug2: key: /var/www/.ssh/id_ed25519 ((nil)) debug3: send packet: type 5 debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 53 debug3: input_userauth_banner This system is for authorized users only. Unauthorized access is prohi +bited. By accessing or using this system, you are expressly consenting to monitoring and recording, which may be --snip-- processed, or stored in this system by a user. If monitoring reveals possible evidence of criminal activity, such evidence may be provided to Law Enforcement Personnel. SYSTEM USERS EXPRESSLY CONSENT TO SUCH MONITORING. debug3: receive packet: type 51 debug1: Authentications that can continue: password debug3: start over, passed a different list password debug3: preferred keyboard-interactive,password debug3: authmethod_lookup password debug3: remaining preferred: ,password debug3: authmethod_is_enabled password debug1: Next authentication method: password # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_LOGIN # passwd/passphrase requested (username@10.10.10.13's password) # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_AWAITING_MUX debug3: send packet: type 50 debug2: we sent a password packet, wait for reply # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_AWAITING_MUX # file object not yet found at /home/www-data/username-10.10.10.13-531 +5-584585, state:_STATE_AWAITING_MUX debug3: receive packet: type 52 debug1: Authentication succeeded (password). Authenticated to 10.10.10.13 ([10.10.10.13]:22). debug1: setting up multiplex master socket debug3: muxserver_listen: temporary control path /home/www-data/userna +me-10.10.10.13-5315-584585.ZhjFh2JeBUynRzTa debug2: fd 4 setting O_NONBLOCK debug3: fd 4 is O_NONBLOCK debug3: fd 4 is O_NONBLOCK debug1: channel 0: new [/home/www-data/username-10.10.10.13-5315-58458 +5] debug3: muxserver_listen: mux listener channel 0 fd 4 debug2: fd 3 setting TCP_NODELAY debug3: ssh_packet_set_tos: set IP_TOS 0x08 debug1: Entering interactive session. debug1: pledge: id # file object found at /home/www-data/username-10.10.10.13-5315-584585 # master state jumping from _STATE_AWAITING_MUX to _STATE_RUNNING # call args: ['ssh','-O','check','-T','-S','/home/www-data/username-10 +.10.10.13-5315-584585','-l','username','10.10.10.13','--'] # open_ex: ['ssh','-O','check','-T','-S','/home/www-data/username-10.1 +0.10.13-5315-584585','-l','username','10.10.10.13','--'] # io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0 debug1: multiplexing control connection debug2: fd 5 setting O_NONBLOCK debug3: fd 5 is O_NONBLOCK debug1: channel 1: new [mux-control] debug3: channel_post_mux_listener: new mux channel 1 fd 5 debug3: mux_master_read_cb: channel 1: hello sent debug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4 debug2: process_mux_master_hello: channel 1 slave version 4 debug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4 debug2: process_mux_alive_check: channel 1: alive check # stdout, bytes read: 27 at offset 0 #> 4d 61 73 74 65 72 20 72 75 6e 6e 69 6e 67 20 28 70 69 64 3d 35 33 3 +1 37 29 0d 0a | Master running (pid=5317).. # io3 fast, cin: 0, cout: 1, cerr: 0 debug2: channel 1: ctl read<=0 rfd 5 len 0 debug2: channel 1: read failed debug2: channel 1: close_read debug2: channel 1: input open -> drain # stdout, bytes read: debug2: channel 1: ibuf empty 0debug2: channel 1: input drain -> closed at offset 27 debug2: channel 1: rcvd close debug2: channel 1: output open -> drain debug2: channel 1: obuf empty debug2: channel 1: close_write debug2: channel 1: output drain -> closed debug2: channel 1: is dead (local) debug2: channel 1: gc: notify user debug3: mux_master_control_cleanup_cb: entering for channel 1 debug2: channel 1: gc: user detached debug2: channel 1: is dead (local) debug2: channel 1: garbage collecting debug1: channel 1: free: mux-control, nchannels 2 debug3: channel 1: status: The following connections are open: # leaving _io3() # _waitpid(5320) => pid: 5320, rc: 0, err: Logging In<br> # call args: ['ssh','-S','/home/www-data/username-10.10.10.13-5315-584 +585','-l','username','10.10.10.13','--','ping 10.10.10.228'] # open_ex: ['ssh','-S','/home/www-data/username-10.10.10.13-5315-58458 +5','-l','username','10.10.10.13','--','ping 10.10.10.228'] # io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0 debug1: multiplexing control connection debug2: fd 5 setting O_NONBLOCK debug3: fd 5 is O_NONBLOCK debug1: channel 1: new [mux-control] debug3: channel_post_mux_listener: new mux channel 1 fd 5 debug3: mux_master_read_cb: channel 1: hello sent debug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4 debug2: process_mux_master_hello: channel 1 slave version 4 debug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4 debug2: process_mux_alive_check: channel 1: alive check debug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 79 debug2: process_mux_new_session: channel 1: request tty 0, X 0, agent +0, subsys 0, term "vt100", cmd "ping 10.10.10.228", env 1 debug3: process_mux_new_session: got fds stdin 6, stdout 7, stderr 8 debug2: fd 7 setting O_NONBLOCK debug3: fd 8 is O_NONBLOCK debug1: channel 2: new [client-session] debug2: process_mux_new_session: channel_new: 2 linked to control chan +nel 1 debug2: channel 2: send open debug3: send packet: type 90 debug3: receive packet: type 91 debug2: callback start debug2: client_session2_setup: id 2 debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 debug2: channel 2: request env confirm 0 debug3: send packet: type 98 debug1: Sending command: ping 10.10.10.228 debug2: channel 2: request exec confirm 1 debug3: send packet: type 98 debug3: mux_session_confirm: sending success reply debug2: callback done debug2: channel 2: open confirm rwindow 2097152 rmax 32768 debug3: receive packet: type 99 debug2: channel_input_status_confirm: type 99 id 2 debug2: exec request accepted on channel 2 # stdout, bytes read: 88 at offset 0 #> 4c 61 73 74 20 73 77 69 74 63 68 2d 6f 76 65 72 20 54 68 75 20 44 6 +5 63 20 32 39 20 31 32 3a 30 | Last switch-over Thu Dec 29 12:0 #> 38 3a 33 33 20 32 30 31 36 3a 20 37 20 77 65 65 6b 73 2c 20 34 20 6 +4 61 79 73 2c 20 31 39 20 68 | 8:33 2016: 7 weeks, 4 days, 19 h #> 6f 75 72 73 2c 20 32 33 20 6d 69 6e 75 74 65 73 20 61 67 6f 0d 0a 0 +d 0a | ours, 23 minutes ago.... # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 29 at offset 88 #> 54 75 65 20 46 65 62 20 32 31 20 30 37 3a 33 31 3a 34 39 2e 36 31 3 +1 20 63 73 74 0d 0a | Tue Feb 21 07:31:49.611 cst.. # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 102 at offset 117 #> 54 79 70 65 20 65 73 63 61 70 65 20 73 65 71 75 65 6e 63 65 20 74 6 +f 20 61 62 6f 72 74 2e 0d 0a | Type escape sequence to abort... #> 53 65 6e 64 69 6e 67 20 35 2c 20 31 30 30 2d 62 79 74 65 20 49 43 4 +d 50 20 45 63 68 6f 73 20 74 | Sending 5, 100-byte ICMP Echos t #> 6f 20 32 30 36 2e 31 36 36 2e 38 2e 32 32 38 2c 20 74 69 6d 65 6f 7 +5 74 20 69 73 20 32 20 73 65 | o 10.10.10.228, timeout is 2 se #> 63 6f 6e 64 73 3a + | conds: # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 2 at offset 219 #> 0d 0a + | .. # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 4 at offset 221 #> 21 21 21 21 + | !!!! # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 73 at offset 225 #> 21 0d 0a 53 75 63 63 65 73 73 20 72 61 74 65 20 69 73 20 31 30 30 2 +0 70 65 72 63 65 6e 74 20 28 | !..Success rate is 100 percent ( #> 35 2f 35 29 2c 20 72 6f 75 6e 64 2d 74 72 69 70 20 6d 69 6e 2f 61 7 +6 67 2f 6d 61 78 20 3d 20 34 | 5/5), round-trip min/avg/max = 4 #> 2f 34 2f 35 20 6d 73 0d 0a + | /4/5 ms.. # io3 fast, cin: 0, cout: 1, cerr: 0 debug3: receive packet: type 98 debug1: client_input_channel_req: channel 2 rtype exit-status reply 0 debug3: mux_exit_message: channel 2: exit message, exitval 0 debug3: receive packet: type 96 debug2: channel 2: rcvd eof debug2: channel 2: output open -> drain debug2: channel 2: obuf empty debug2: channel 2: close_write debug2: channel 2: output drain -> closed debug3: receive packet: type 97 debug2: channel 2: rcvd close debug2: channel 2: close_read debug2: channel 2: input open -> closed debug3: channel 2: will not send data after close debug2: channel 2: send close debug3: send packet: type 97 debug2: channel 2: is dead debug2: channel 2: gc: notify user debug3: mux_master_session_cleanup_cb: entering for channel 2 debug2: channel 1: rcvd close debug2: channel 1: output open -> drain debug2: channel 1: close_read debug2: channel 1: input open -> closed debug2: channel 2: gc: user detached debug2: channel 2: is dead debug2: channel 2: garbage collecting debug1: channel 2: free: client-session, nchannels 3 debug3: channel 2: status: The following connections are open: #2 client-session (t4 r1 i3/0 o3/0 fd -1/-1 cc -1) debug2: channel 1: obuf empty debug2: channel 1: close_write debug2: channel 1: output drain -> closed debug2: channel 1: is dead (local) debug2: channel 1: gc: notify user debug3: mux_master_control_cleanup_cb: entering for channel 1 debug2: channel 1: gc: user detached debug2: channel 1: is dead (local) debug2: channel 1: garbage collecting debug1: channel 1: free: mux-control, nchannels 2 debug3: channel 1: status: The following connections are open: # stdout, bytes read: 0 at offset 298 # leaving _io3() # _waitpid(5321) => pid: 5321, rc: 0, err: LINES:7 OUTPUT<br>Last switch-over Thu Dec 29 12:08:33 2016: 7 weeks, 4 days, +19 hours, 23 minutes ago Tue Feb 21 07:31:49.611 cst Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.10.228, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/5 ms # DESTROY(Net::OpenSSH=HASH(0xbc87f0), pid: 5317) # sending exit control to master # call args: ['ssh','-O','exit','-T','-S','/home/www-data/username-10. +10.10.13-5315-584585','-l','username','10.10.10.13','--'] # open_ex: ['ssh','-O','exit','-T','-S','/home/www-data/username-10.10 +.10.13-5315-584585','-l','username','10.10.10.13','--'] # io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0 debug1: multiplexing control connection debug2: fd 5 setting O_NONBLOCK debug3: fd 5 is O_NONBLOCK debug1: channel 1: new [mux-control] debug3: channel_post_mux_listener: new mux channel 1 fd 5 debug3: mux_master_read_cb: channel 1: hello sent debug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4 debug2: process_mux_master_hello: channel 1 slave version 4 debug3: mux_master_read_cb: channel 1 packet type 0x10000005 len 4 debug2: process_mux_terminate: channel 1: terminate request debug3: send packet: type 1 debug1: channel 0: free: /home/www-data/username-10.10.10.13-5315-5845 +85, nchannels 2 debug3: channel 0: status: The following connections are open: debug1: channel 1: free: mux-control, nchannels 1 debug3: channel 1: status: The following connections are open: Transferred: sent 2040, received 2848 bytes, in 0.9 seconds Bytes per second: sent 2320.7, received 3239.9 debug1: Exit status -1 # stdout, bytes read: 20 at offset 0 #> 45 78 69 74 20 72 65 71 75 65 73 74 20 73 65 6e 74 2e 0d 0a + | Exit request sent... # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 0 at offset 20 # leaving _io3() # _waitpid(5322) => pid: 5322, rc: 0, err: # set_error(1 - aborted) # master state jumping from _STATE_RUNNING to _STATE_KILLING # master 5317 exited, rc:65280, err: # master state jumping from _STATE_KILLING to _STATE_GONE
www-data@CustA:/usr/lib/cgi-bin$ perl BGPLG.cgi Content-type: text/plain <head>BGP Looking Glass</head>BGP Looking Glass<br>www-data@CustA:/usr +/lib/cgi-bin$ www-data@CustA:/usr/lib/cgi-bin$ perl /usr/local/scripts/BGP_LG_Proxy +-targetid=0 -commandid=0 -param=10.10.10.228 -ipv=IPV4 # open_ex: ['ssh','-V'] # io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 60 at offset 0 #> 4f 70 65 6e 53 53 48 5f 37 2e 32 70 32 20 55 62 75 6e 74 75 2d 34 7 +5 62 75 6e 74 75 32 2e 31 2c | OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, #> 20 4f 70 65 6e 53 53 4c 20 31 2e 30 2e 32 67 20 20 31 20 4d 61 72 2 +0 32 30 31 36 0a | OpenSSL 1.0.2g 1 Mar 2016. # io3 fast, cin: 0, cout: 1, cerr: 0 # stdout, bytes read: 0 at offset 60 # leaving _io3() # _waitpid(5519) => pid: 5519, rc: 0, err: # OpenSSH version is 7.2p2 # ctl_path: /home/LGUser/username-10.10.10.13-5518-521068, ctl_dir: /h +ome/LGUser/ # set_error(0 - 0) # call args: ['ssh','-vvv','-o','ServerAliveInterval=1','-o','ControlP +ersist=no','-2MNx','-o','NumberOfPasswordPrompts=1','-o','PreferredAu +thentications=keyboard-interactive,password','-S','/home/LGUser/usern +ame-10.10.10.13-5518-521068','-l','username','10.10.10.13','--'] # master state jumping from _STATE_START to _STATE_LOGIN # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN # tracer attached, ssh pid: 5520, tracer pid: 5521 OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: resolving "10.10.10.13" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to 10.10.10.13 [10.10.10.13] port 22. debug1: Connection established. debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /var/www/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN debug1: Remote protocol version 2.0, remote software version Cisco-2.0 debug1: no match: Cisco-2.0 debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to 10.10.10.13:22 as 'username' debug3: hostkeys_foreach: reading file "/var/www/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /var/www/.ssh/known +_hosts:1 debug3: load_hostkeys: loaded 1 keys from 10.10.10.13 debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openss +h.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp25 +6,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange +-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha +1,ext-info-c debug2: host key algorithms: ssh-rsa-cert-v01@openssh.com,rsa-sha2-512 +,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa- +sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@opens +sh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha +2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192- +ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-c +bc,aes192-cbc,aes256-cbc,3des-cbc debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192- +ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-c +bc,aes192-cbc,aes256-cbc,3des-cbc debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hm +ac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-e +tm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256 +,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hm +ac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-e +tm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256 +,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com,zlib debug2: compression stoc: none,zlib@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: diffie-hellman-group14-sha1,diffie-hellman-gro +up1-sha1 debug2: host key algorithms: ssh-rsa debug2: ciphers ctos: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc debug2: ciphers stoc: aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc debug2: MACs ctos: hmac-sha1 debug2: MACs stoc: hmac-sha1 debug2: compression ctos: none debug2: compression stoc: none debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: diffie-hellman-group14-sha1 debug1: kex: host key algorithm: ssh-rsa debug1: kex: server->client cipher: aes128-cbc MAC: hmac-sha1 compress +ion: none debug1: kex: client->server cipher: aes128-cbc MAC: hmac-sha1 compress +ion: none debug1: sending SSH2_MSG_KEXDH_INIT debug2: bits set: 1019/2048 debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEXDH_REPLY # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN debug3: receive packet: type 31 debug1: Server host key: ssh-rsa SHA256:8t7tXh5nWhCGRevKBLgvnFNfkKGK6b +doqL0/pOFj5CY debug3: hostkeys_foreach: reading file "/var/www/.ssh/known_hosts" debug3: record_hostkey: found key type RSA in file /var/www/.ssh/known +_hosts:1 debug3: load_hostkeys: loaded 1 keys from 10.10.10.13 debug1: Host '10.10.10.13' is known and matches the RSA host key. debug1: Found key in /var/www/.ssh/known_hosts:1 debug2: bits set: 1032/2048 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug2: set_newkeys: mode 0 debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS received debug2: key: /var/www/.ssh/id_rsa ((nil)) debug2: key: /var/www/.ssh/id_dsa ((nil)) debug2: key: /var/www/.ssh/id_ecdsa ((nil)) debug2: key: /var/www/.ssh/id_ed25519 ((nil)) debug3: send packet: type 5 debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 53 debug3: input_userauth_banner This system is for authorized users only. Unauthorized access is prohi +bited. By accessing or using this system, you are expressly consenting to monitoring and recording, which may be disclosed for administrative, disciplinary, civil, or --snip-- processed, or stored in this system by a user. If monitoring reveals possible evidence of criminal activity, such evidence may be provided to Law Enforcement Personnel. SYSTEM USERS EXPRESSLY CONSENT TO SUCH MONITORING. debug3: receive packet: type 51 debug1: Authentications that can continue: password debug3: start over, passed a different list password debug3: preferred keyboard-interactive,password debug3: authmethod_lookup password debug3: remaining preferred: ,password debug3: authmethod_is_enabled password debug1: Next authentication method: password # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_LOGIN # passwd/passphrase requested (username@10.10.10.13's password) # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_AWAITING_MUX # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_AWAITING_MUX debug3: send packet: type 50 debug2: we sent a password packet, wait for reply # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_AWAITING_MUX debug3: receive packet: type 52 debug1: Authentication succeeded (password). Authenticated to 10.10.10.13 ([10.10.10.13]:22). debug1: setting up multiplex master socket debug3: muxserver_listen: temporary control path /home/LGUser/username +-10.10.10.13-5518-521068.0SV3ky2zB6JJBHFY bind: Permission denied unix_listener: cannot bind to path: /home/LGUser/username-10.10.10.13- +5518-521068.0SV3ky2zB6JJBHFY # file object not yet found at /home/LGUser/username-10.10.10.13-5518- +521068, state:_STATE_AWAITING_MUX # set_error(1 - unable to establish master SSH connection: bad passwor +d or master process exited unexpectedly) # master state jumping from _STATE_AWAITING_MUX to _STATE_GONE Couldn't establish SSH connection: unable to establish master SSH conn +ection: bad password or master process exited unexpectedly at /usr/lo +cal/scripts/BGP_LG_Proxy line 101. # DESTROY(Net::OpenSSH=HASH(0x18fb6d8), pid: <undef>) www-data@CustA:/usr/lib/cgi-bin$
In reply to Re^9: Net::OpenSSH + CGI problem
by fwalters
in thread Net::OpenSSH + CGI problem
by fwalters
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |