note
touriste75
I am sorry for the bad tag.
Here are the debug with -vvv
<c>
# 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 36 70 31 20 55 62 75 6e 74 75 2d 34 75 62 75 6e 74 75 30 2e 33 2c | OpenSSH_7.6p1 Ubuntu-4ubuntu0.3,
#> 20 4f 70 65 6e 53 53 4c 20 31 2e 30 2e 32 6e 20 20 37 20 44 65 63 20 32 30 31 37 0a | OpenSSL 1.0.2n 7 Dec 2017.
# io3 fast, cin: 0, cout: 1, cerr: 0
# stdout, bytes read: 0 at offset 60
# leaving _io3()
# waiting for slave, timeout: 10, remaining: 10, sleep: 1
# _waitpid(5018) => pid: 5018, rc: 0, err: Interrupted system call
# OpenSSH version is 7.6p1
# ctl_path: /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, ctl_dir: /home/alexandre/.libnet-openssh-perl/
# _is_secure_path(dir: /home/alexandre/.libnet-openssh-perl, file mode: 16832, file uid: 1000, euid: 1000
# _is_secure_path(dir: /home/alexandre, file mode: 16877, file uid: 1000, euid: 1000
# set_error(0 - 0)
# call args: ['ssh','-vvv','-o','ServerAliveInterval=30','-o','ControlPersist=no','-2MNx','-o','NumberOfPasswordPrompts=1','-o','PreferredAuthentications=keyboard-interactive,password','-S','/home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10','-l','admin','-p','22','192.168.109.10','--']
# master state jumping from _STATE_START to _STATE_LOGIN
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "192.168.109.10" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 192.168.109.10 [192.168.109.10] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexandre/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexandre/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexandre/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexandre/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexandre/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexandre/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexandre/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/alexandre/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
debug1: Remote protocol version 2.0, remote software version Cisco-1.25
debug1: match: Cisco-1.25 pat Cisco-1.* compat 0x60000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to 192.168.109.10:22 as 'admin'
debug3: hostkeys_foreach: reading file "/home/alexandre/.ssh/known_hosts"
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
debug3: record_hostkey: found key type RSA in file /home/alexandre/.ssh/known_hosts:2
debug3: load_hostkeys: loaded 1 keys from 192.168.109.10
debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.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,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,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@openssh.com,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-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
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@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,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@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-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: host key algorithms: ssh-rsa
debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
debug2: MACs ctos: hmac-sha1,hmac-sha1-96
debug2: MACs stoc: hmac-sha1,hmac-sha1-96
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-group-exchange-sha1
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha1 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha1 compression: none
debug3: send packet: type 34
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<4096<8192) sent
debug3: receive packet: type 31
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
debug2: bits set: 2053/4096
debug3: send packet: type 32
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
debug3: receive packet: type 33
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ssh-rsa SHA256:JlCl8yR9vFxJOLPbGz/rO/clXt0pPlcM+GBGUPIfN9s
debug3: hostkeys_foreach: reading file "/home/alexandre/.ssh/known_hosts"
debug3: record_hostkey: found key type RSA in file /home/alexandre/.ssh/known_hosts:2
debug3: load_hostkeys: loaded 1 keys from 192.168.109.10
debug1: Host '192.168.109.10' is known and matches the RSA host key.
debug1: Found key in /home/alexandre/.ssh/known_hosts:2
debug2: bits set: 2055/4096
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
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
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey after 4294967296 blocks
debug2: key: /home/alexandre/.ssh/id_rsa ((nil))
debug2: key: /home/alexandre/.ssh/id_dsa ((nil))
debug2: key: /home/alexandre/.ssh/id_ecdsa ((nil))
debug2: key: /home/alexandre/.ssh/id_ed25519 ((nil))
debug3: send packet: type 5
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
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
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,keyboard-interactive,password
debug3: start over, passed a different list publickey,keyboard-interactive,password
debug3: preferred keyboard-interactive,password
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug3: send packet: type 50
debug2: we sent a keyboard-interactive packet, wait for reply
debug3: receive packet: type 60
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_LOGIN
# passwd/passphrase requested (Password:)
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_AWAITING_MUX
debug3: send packet: type 61
# file object not yet found at /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, state:_STATE_AWAITING_MUX
debug3: receive packet: type 52
debug1: Authentication succeeded (keyboard-interactive).
Authenticated to 192.168.109.10 ([192.168.109.10]:22).
debug1: setting up multiplex master socket
debug3: muxserver_listen: temporary control path /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10.p7I6RdhatEAybdJz
debug2: fd 4 setting O_NONBLOCK
debug3: fd 4 is O_NONBLOCK
debug3: fd 4 is O_NONBLOCK
debug1: channel 0: new [/home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10]
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/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10
# master state jumping from _STATE_AWAITING_MUX to _STATE_RUNNING
# call args: ['ssh','-O','check','-T','-S','/home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10','-l','admin','-p','22','192.168.109.10','--']
# open_ex: ['ssh','-O','check','-T','-S','/home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10','-l','admin','-p','22','192.168.109.10','--']
# 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 30 31 39 29 0d 0a | Master running (pid=5019)..
# 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
debug2: channel 1: ibuf empty
debug2: channel 1: input drain -> closed
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:
#1 mux-control (t16 nr0 i3/0 o3/0 fd 5/5 cc -1)
# stdout, bytes read: 0 at offset 27
# leaving _io3()
# _waitpid(5020) => pid: 5020, rc: 0, err:
# call args: ['ssh','-S','/home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10','-l','admin','-p','22','192.168.109.10','--','conf t']
# open_ex: ['ssh','-S','/home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10','-l','admin','-p','22','192.168.109.10','--','conf t']
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 76
debug2: process_mux_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term "xterm-256color", cmd "conf t", env 1
debug3: mm_receive_fd: recvmsg: Resource temporarily unavailable
debug3: mm_receive_fd: recvmsg: Resource temporarily unavailable
debug3: mm_receive_fd: recvmsg: Resource temporarily unavailable
debug3: process_mux_new_session: got fds stdin 6, stdout 7, stderr 8
debug1: channel 2: new [client-session]
debug2: process_mux_new_session: channel_new: 2 linked to control channel 1
debug2: channel 2: send open
debug3: send packet: type 90
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 2: callback start
debug2: client_session2_setup: id 2
debug1: Sending environment.
debug1: Sending env LANG = fr_FR.UTF-8
debug2: channel 2: request env confirm 0
debug3: send packet: type 98
debug1: Sending command: conf t
debug2: channel 2: request exec confirm 1
debug3: send packet: type 98
debug3: mux_session_confirm: sending success reply
debug2: channel_input_open_confirmation: channel 2: callback done
debug2: channel 2: open confirm rwindow 8192 rmax 4096
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 2
debug2: exec request accepted on channel 2
Enter configuration commands, one per line. End with CNTL/Z.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:
#1 mux-control (t16 nr0 i3/0 o1/0 fd 5/5 cc -1)
#2 client-session (t4 r3 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:
#1 mux-control (t16 nr0 i3/0 o3/0 fd 5/5 cc -1)
# _waitpid(5021) => pid: 5021, rc: 0, err: Inappropriate ioctl for device
# call args: ['ssh','-S','/home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10','-l','admin','-p','22','192.168.109.10','--','hostname TOTO']
# open_ex: ['ssh','-S','/home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10','-l','admin','-p','22','192.168.109.10','--','hostname TOTO']
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 83
debug2: process_mux_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term "xterm-256color", cmd "hostname TOTO", env 1
debug3: mm_receive_fd: recvmsg: Resource temporarily unavailable
debug3: mm_receive_fd: recvmsg: Resource temporarily unavailable
debug3: mm_receive_fd: recvmsg: Resource temporarily unavailable
debug3: process_mux_new_session: got fds stdin 6, stdout 7, stderr 8
debug1: channel 2: new [client-session]
debug2: process_mux_new_session: channel_new: 2 linked to control channel 1
debug2: channel 2: send open
debug3: send packet: type 90
debug3: send packet: type 1
debug1: channel 0: free: /home/alexandre/.libnet-openssh-perl/48469bf5bb8c20822249ca20c558ff10, nchannels 3
debug3: channel 0: status: The following connections are open:
#1 mux-control (t16 r2 i0/0 o0/0 fd 5/5 cc -1)
#2 client-session (t3 nr0 i0/0 o0/0 fd 6/7 cc 1)
debug1: channel 1: free: mux-control, nchannels 2
debug3: channel 1: status: The following connections are open:
#1 mux-control (t16 r2 i0/0 o0/0 fd 5/5 cc -1)
#2 client-session (t3 nr0 i0/0 o0/0 fd 6/7 cc 1)
debug1: channel 2: free: client-session, nchannels 1
debug3: channel 2: status: The following connections are open:
#2 client-session (t3 nr0 i0/0 o0/0 fd 6/7 cc 1)
Connection to 192.168.109.10 closed by remote host.
Transferred: sent 2408, received 3544 bytes, in 0.3 seconds
Bytes per second: sent 7967.9, received 11726.8
debug1: Exit status -1
mux_client_request_session: read from master failed: Broken pipe
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************Password:
</c>
11132420
11132452