Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myvm:~ # systemctl stop sshd && /sbin/sshd -d
- debug1: sshd version OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
- debug1: key_parse_private2: missing begin marker
- debug1: read PEM private key done: type RSA
- debug1: private host key: #0 type 1 RSA
- debug1: key_parse_private2: missing begin marker
- debug1: read PEM private key done: type ECDSA
- debug1: private host key: #1 type 3 ECDSA
- debug1: private host key: #2 type 4 ED25519
- debug1: rexec_argv[0]='/sbin/sshd'
- debug1: rexec_argv[1]='-d'
- Set /proc/self/oom_score_adj from 0 to -1000
- debug1: Bind to port 22 on 0.0.0.0.
- Server listening on 0.0.0.0 port 22.
- debug1: Bind to port 22 on ::.
- Server listening on :: port 22.
- myusername@myhypervisor:~ $ eval `ssh-agent -t 300`
- Agent pid 3324
- myusername@myhypervisor:~ $ ssh-add
- Enter passphrase for /home/myusername/.ssh/id_rsa:
- Identity added: /home/myusername/.ssh/id_rsa (/home/myusername/.ssh/id_rsa)
- myusername@myhypervisor:~ $ ssh -v 192.168.122.10
- OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 56: Applying options for *
- debug1: Connecting to 192.168.122.10 [192.168.122.10] port 22.
- debug1: Connection established.
- debug1: identity file /home/myusername/.ssh/id_rsa type 1
- debug1: identity file /home/myusername/.ssh/id_rsa-cert type -1
- debug1: identity file /home/myusername/.ssh/id_dsa type -1
- debug1: identity file /home/myusername/.ssh/id_dsa-cert type -1
- debug1: identity file /home/myusername/.ssh/id_ecdsa type -1
- debug1: identity file /home/myusername/.ssh/id_ecdsa-cert type -1
- debug1: identity file /home/myusername/.ssh/id_ed25519 type -1
- debug1: identity file /home/myusername/.ssh/id_ed25519-cert type -1
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_6.6.1
- debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
- debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
- debug1: SSH2_MSG_KEXINIT sent
- debug1: SSH2_MSG_KEXINIT received
- debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
- debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
- debug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16
- debug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16
- debug1: sending SSH2_MSG_KEX_ECDH_INIT
- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
- debug1: Server host key: ECDSA 99:8b:7a:40:d5:fd:fb:0e:b4:ee:ba:19:77:d0:0e:7e
- debug1: Host '192.168.122.10' is known and matches the ECDSA host key.
- debug1: Found key in /home/myusername/.ssh/known_hosts:1
- debug1: ssh_ecdsa_verify: signature correct
- debug1: SSH2_MSG_NEWKEYS sent
- debug1: expecting SSH2_MSG_NEWKEYS
- debug1: SSH2_MSG_NEWKEYS received
- debug1: SSH2_MSG_SERVICE_REQUEST sent
- debug1: SSH2_MSG_SERVICE_ACCEPT received
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug1: Next authentication method: gssapi-keyex
- debug1: No valid Key exchange context
- debug1: Next authentication method: gssapi-with-mic
- debug1: Unspecified GSS failure. Minor code may provide more information
- No Kerberos credentials available (default cache: KEYRING:persistent:1000)
- debug1: Unspecified GSS failure. Minor code may provide more information
- No Kerberos credentials available (default cache: KEYRING:persistent:1000)
- debug1: Next authentication method: publickey
- debug1: Offering RSA public key: /home/myusername/.ssh/id_rsa
- debug1: Server accepts key: pkalg ssh-rsa blen 279
- debug1: Authentication succeeded (publickey).
- Authenticated to 192.168.122.10 ([192.168.122.10]:22).
- debug1: channel 0: new [client-session]
- debug1: Requesting no-more-sessions@openssh.com
- debug1: Entering interactive session.
- debug1: Sending environment.
- debug1: Sending env LANG = en_US.UTF-8
- Last login: Thu Aug 17 17:20:29 2017 from gw.mydomain
- # MOTD
- Environment:
- LANG=en_US.UTF-8
- USER=myusername
- LOGNAME=myusername
- HOME=/home/myusername
- PATH=/usr/local/bin:/usr/bin
- MAIL=/var/mail/myusername
- SHELL=/bin/bash
- SSH_CLIENT=192.168.122.1 52234 22
- SSH_CONNECTION=192.168.122.1 52234 192.168.122.10 22
- SSH_TTY=/dev/pts/0
- TERM=screen
- SELINUX_ROLE_REQUESTED=
- SELINUX_LEVEL_REQUESTED=
- SELINUX_USE_CURRENT_RANGE=
- XDG_SESSION_ID=58
- [myusername@myvm ~]$
- debug1: Server will not fork when running in debugging mode.
- debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
- debug1: inetd sockets after dupping: 3, 3
- Connection from 192.168.122.1 port 52234 on 192.168.122.10 port 22
- debug1: Client protocol version 2.0; client software version OpenSSH_6.6.1
- debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_6.6.1
- debug1: SELinux support enabled [preauth]
- debug1: permanently_set_uid: 74/74 [preauth]
- debug1: list_hostkey_types: ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
- debug1: SSH2_MSG_KEXINIT sent [preauth]
- debug1: SSH2_MSG_KEXINIT received [preauth]
- debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none [preauth]
- debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none [preauth]
- debug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16 [preauth]
- debug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16 [preauth]
- debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
- debug1: SSH2_MSG_NEWKEYS sent [preauth]
- debug1: expecting SSH2_MSG_NEWKEYS [preauth]
- debug1: SSH2_MSG_NEWKEYS received [preauth]
- debug1: KEX done [preauth]
- debug1: userauth-request for user myusername service ssh-connection method none [preauth]
- debug1: attempt 0 failures 0 [preauth]
- debug1: PAM: initializing for "myusername"
- debug1: PAM: setting PAM_RHOST to "gw.mydomain"
- debug1: PAM: setting PAM_TTY to "ssh"
- debug1: userauth-request for user myusername service ssh-connection method publickey [preauth]
- debug1: attempt 1 failures 0 [preauth]
- debug1: test whether pkalg/pkblob are acceptable [preauth]
- debug1: temporarily_use_uid: 1000/1000 (e=0/0)
- debug1: trying public key file /home/myusername/.ssh/authorized_keys
- debug1: fd 4 clearing O_NONBLOCK
- Found matching RSA key: [my-key]
- debug1: restore_uid: 0/0
- Postponed publickey for myusername from 192.168.122.1 port 52234 ssh2 [preauth] [38/772]
- debug1: userauth-request for user myusername service ssh-connection method publickey [preauth]
- debug1: attempt 2 failures 0 [preauth]
- debug1: temporarily_use_uid: 1000/1000 (e=0/0)
- debug1: trying public key file /home/myusername/.ssh/authorized_keys
- debug1: fd 4 clearing O_NONBLOCK
- Found matching RSA key: [my-key]
- debug1: restore_uid: 0/0
- debug1: ssh_rsa_verify: signature correct
- debug1: do_pam_account: called
- Accepted publickey for myusername from 192.168.122.1 port 52234 ssh2: RSA [my-key]
- debug1: monitor_child_preauth: myusername has been authenticated by privileged process
- debug1: monitor_read_log: child log fd closed
- debug1: temporarily_use_uid: 1000/1000 (e=0/0)
- debug1: ssh_gssapi_storecreds: Not a GSSAPI mechanism
- debug1: restore_uid: 0/0
- debug1: SELinux support enabled
- debug1: PAM: establishing credentials
- User child is on pid 4004
- debug1: PAM: establishing credentials
- debug1: permanently_set_uid: 1000/1000
- debug1: Entering interactive session for SSH2.
- debug1: server_init_dispatch_20
- debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384
- debug1: input_session_request
- debug1: channel 0: new [server-session]
- debug1: session_new: session 0
- debug1: session_open: channel 0
- debug1: session_open: session 0: link with channel 0
- debug1: server_input_channel_open: confirm session
- debug1: server_input_global_request: rtype no-more-sessions@openssh.com want_reply 0
- debug1: server_input_channel_req: channel 0 request pty-req reply 1
- debug1: session_by_channel: session 0 channel 0
- debug1: session_input_channel_req: session 0 req pty-req
- debug1: Allocating pty.
- debug1: session_new: session 0
- debug1: SELinux support enabled
- debug1: session_pty_req: session 0 alloc /dev/pts/0
- debug1: server_input_channel_req: channel 0 request env reply 0
- debug1: session_by_channel: session 0 channel 0
- debug1: session_input_channel_req: session 0 req env
- debug1: server_input_channel_req: channel 0 request shell reply 1
- debug1: session_by_channel: session 0 channel 0
- debug1: session_input_channel_req: session 0 req shell
- Starting session: shell on pts/0 for myusername from 192.168.122.1 port 52392
- debug1: Setting controlling tty using TIOCSCTTY.
- myusername@myhypervisor:~ $ ssh -v 192.168.122.10 [10/1578]
- OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 56: Applying options for *
- debug1: Connecting to 192.168.122.10 [192.168.122.10] port 22.
- debug1: Connection established.
- debug1: identity file /home/myusername/.ssh/id_rsa type 1
- debug1: identity file /home/myusername/.ssh/id_rsa-cert type -1
- debug1: identity file /home/myusername/.ssh/id_dsa type -1
- debug1: identity file /home/myusername/.ssh/id_dsa-cert type -1
- debug1: identity file /home/myusername/.ssh/id_ecdsa type -1
- debug1: identity file /home/myusername/.ssh/id_ecdsa-cert type -1
- debug1: identity file /home/myusername/.ssh/id_ed25519 type -1
- debug1: identity file /home/myusername/.ssh/id_ed25519-cert type -1
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_6.6.1
- debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
- debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
- debug1: SSH2_MSG_KEXINIT sent
- debug1: SSH2_MSG_KEXINIT received
- debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
- debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
- debug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16
- debug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16
- debug1: sending SSH2_MSG_KEX_ECDH_INIT
- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
- debug1: Server host key: ECDSA 99:8b:7a:40:d5:fd:fb:0e:b4:ee:ba:19:77:d0:0e:7e
- debug1: Host '192.168.122.10' is known and matches the ECDSA host key.
- debug1: Found key in /home/myusername/.ssh/known_hosts:1
- debug1: ssh_ecdsa_verify: signature correct
- debug1: SSH2_MSG_NEWKEYS sent
- debug1: expecting SSH2_MSG_NEWKEYS
- debug1: SSH2_MSG_NEWKEYS received
- debug1: SSH2_MSG_SERVICE_REQUEST sent
- debug1: SSH2_MSG_SERVICE_ACCEPT received
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug1: Next authentication method: gssapi-keyex
- debug1: No valid Key exchange context
- debug1: Next authentication method: gssapi-with-mic
- debug1: Unspecified GSS failure. Minor code may provide more information
- No Kerberos credentials available (default cache: KEYRING:persistent:1000)
- debug1: Unspecified GSS failure. Minor code may provide more information
- No Kerberos credentials available (default cache: KEYRING:persistent:1000)
- debug1: Next authentication method: publickey
- debug1: Offering RSA public key: /home/myusername/.ssh/id_rsa
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug1: Trying private key: /home/myusername/.ssh/id_dsa
- debug1: Trying private key: /home/myusername/.ssh/id_ecdsa
- debug1: Trying private key: /home/myusername/.ssh/id_ed25519
- debug1: Next authentication method: password
- myusername@192.168.122.10's password:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement