Skip to content

Instantly share code, notes, and snippets.

@SurPaul

SurPaul/Client Secret

Created May 20, 2022 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SurPaul/3aecb9a8e148904e26f25c9bf25f8106 to your computer and use it in GitHub Desktop.
Save SurPaul/3aecb9a8e148904e26f25c9bf25f8106 to your computer and use it in GitHub Desktop.
OpenSSH на Windows 11
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug1: Reading configuration data C:\\Users\\username/.ssh/config
debug1: Connecting to localhost [::1] port 22.
debug1: Connection established.
debug1: identity file .\\ssh_host_ed25519_key type 3
debug1: identity file .\\ssh_host_ed25519_key-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_for_Windows_8.1
debug1: match: OpenSSH_for_Windows_8.1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to localhost:22 as 'username'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:nPHJvN89Ms/TXtCw8CinYmgzHmDUVTZFJG/kXoU5Xko
debug1: Host 'localhost' is known and matches the ECDSA host key.
debug1: Found key in C:\\Users\\username/.ssh/known_hosts:6
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: username@laptop RSA SHA256:clyT3+jMcYnZnBIAe7IMlt7nPQyqrI6K+JeEfnydM9w agent
debug1: Will attempt key: .\\ssh_host_ed25519_key ED25519 SHA256:snCoaKTe++fN5zbFcoLHp/EzwPoxL5Nh2aWQh2osdLQ explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: username@laptop RSA SHA256:clyT3+jMcYnZnBIAe7IMlt7nPQyqrI6K+JeEfnydM9w agent
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Offering public key: .\\ssh_host_ed25519_key ED25519 SHA256:snCoaKTe++fN5zbFcoLHp/EzwPoxL5Nh2aWQh2osdLQ explicit
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: No more authentication methods to try.
username@localhost: Permission denied (publickey,keyboard-interactive).
debug1: sshd version OpenSSH_for_Windows_8.1, LibreSSL 3.0.2
debug1: get_passwd: LookupAccountName() failed: 1332.
debug1: private host key #0: ssh-rsa SHA256:7+YX/rO0na2+E7wZ1rdfQWnQZE9aJTl4pOU9F0f7xqM
debug1: private host key #1: ecdsa-sha2-nistp256 SHA256:nPHJvN89Ms/TXtCw8CinYmgzHmDUVTZFJG/kXoU5Xko
debug1: private host key #2: ssh-ed25519 SHA256:snCoaKTe++fN5zbFcoLHp/EzwPoxL5Nh2aWQh2osdLQ
debug1: rexec_argv[0]='C:\\Windows\\System32\\OpenSSH\\sshd.exe'
debug1: rexec_argv[1]='-d'
debug1: Bind to port 22 on ::.
Server listening on :: port 22.
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
debug1: Server will not fork when running in debugging mode.
Connection from ::1 port 55429 on ::1 port 22
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_for_Windows_8.1
debug1: match: OpenSSH_for_Windows_8.1 pat OpenSSH* compat 0x04000000
debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
debug1: kex: algorithm: curve25519-sha256 [preauth]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256 [preauth]
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
debug1: rekey out after 134217728 blocks [preauth]
debug1: SSH2_MSG_NEWKEYS sent [preauth]
debug1: Sending SSH2_MSG_EXT_INFO [preauth]
debug1: expecting SSH2_MSG_NEWKEYS [preauth]
debug1: SSH2_MSG_NEWKEYS received [preauth]
debug1: rekey in after 134217728 blocks [preauth]
debug1: KEX done [preauth]
debug1: userauth-request for user username service ssh-connection method none [preauth]
debug1: attempt 0 failures 0 [preauth]
debug1: user username matched group list administrators at line 87
debug1: userauth-request for user username service ssh-connection method publickey [preauth]
debug1: attempt 1 failures 0 [preauth]
debug1: userauth_pubkey: test pkalg rsa-sha2-512 pkblob RSA SHA256:clyT3+jMcYnZnBIAe7IMlt7nPQyqrI6K+JeEfnydM9w [preauth]
debug1: trying public key file __PROGRAMDATA__/ssh/administrators_authorized_keys
Authentication refused.
Failed publickey for username from ::1 port 55429 ssh2: RSA SHA256:clyT3+jMcYnZnBIAe7IMlt7nPQyqrI6K+JeEfnydM9w
debug1: userauth-request for user username service ssh-connection method publickey [preauth]
debug1: attempt 2 failures 1 [preauth]
debug1: userauth_pubkey: test pkalg ssh-ed25519 pkblob ED25519 SHA256:snCoaKTe++fN5zbFcoLHp/EzwPoxL5Nh2aWQh2osdLQ [preauth]
debug1: trying public key file __PROGRAMDATA__/ssh/administrators_authorized_keys
Authentication refused.
Failed publickey for username from ::1 port 55429 ssh2: ED25519 SHA256:snCoaKTe++fN5zbFcoLHp/EzwPoxL5Nh2aWQh2osdLQ
debug1: userauth-request for user username service ssh-connection method keyboard-interactive [preauth]
debug1: attempt 3 failures 2 [preauth]
debug1: keyboard-interactive devs [preauth]
debug1: auth2_challenge: user=username devs= [preauth]
debug1: kbdint_alloc: devices '' [preauth]
Connection reset by authenticating user username ::1 port 55429 [preauth]
debug1: do_cleanup [preauth]
debug1: do_cleanup
debug1: Killing privsep child 2832
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment