Difference between revisions of "Ssh -v"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | |||
+ | * <code>ssh -vvv [email protected] 2>&1 | egrep "Authenticating to|[[Offering]]"</code> | ||
+ | |||
+ | |||
+ | |||
+ | Debug1: Authentications that can continue: [[publickey]],[[password]] | ||
+ | |||
+ | |||
+ | == Errors == | ||
debug1: match: OpenSSH_8.3p1 Ubuntu-1 pat OpenSSH* compat 0x04000000 | debug1: match: OpenSSH_8.3p1 Ubuntu-1 pat OpenSSH* compat 0x04000000 | ||
debug1: Authenticating to 172.16.0.105:22 as 'USERNAME' | debug1: Authenticating to 172.16.0.105:22 as 'USERNAME' | ||
Line 13: | Line 23: | ||
* <code>[[Ssh (OpenSSH client)|ssh]] -o [[MACs]]=[[hmac-sha2-256]] HOSTNAME</code> | * <code>[[Ssh (OpenSSH client)|ssh]] -o [[MACs]]=[[hmac-sha2-256]] HOSTNAME</code> | ||
− | |||
+ | Troubleshooting: | ||
+ | * <code>ssh -vvv [email protected] 2>&1 | egrep "Authenticating to|[[Offering]]"</code> | ||
+ | |||
+ | |||
+ | client_loop: send disconnect: [[Connection reset by peer]] | ||
+ | |||
+ | [[debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling]] | ||
+ | |||
+ | debug1: connect to address xx.yy.zz.tt port 22: [[Operation timed out]] | ||
+ | |||
+ | [[debug1: pledge: filesystem full]] | ||
+ | |||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[/etc/issue]]</code> | ||
+ | * <code>[[/var/log/auth.log]]</code> | ||
+ | * [[sshd logs]] | ||
== See also == | == See also == |
Latest revision as of 15:56, 23 August 2023
ssh -vvv [email protected] 2>&1 | egrep "Authenticating to|Offering"
Debug1: Authentications that can continue: publickey,password
Errors[edit]
debug1: match: OpenSSH_8.3p1 Ubuntu-1 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 172.16.0.105: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: [email protected] MAC: <implicit> compression: none debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
Solution:
ssh -o MACs=hmac-sha2-256 HOSTNAME
Troubleshooting:
ssh -vvv [email protected] 2>&1 | egrep "Authenticating to|Offering"
client_loop: send disconnect: Connection reset by peer
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: connect to address xx.yy.zz.tt port 22: Operation timed out
debug1: pledge: filesystem full
Related terms[edit]
See also[edit]
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF
Advertising: