Difference between revisions of "Ssh -v"
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
* <code>[[/etc/issue]]</code> | * <code>[[/etc/issue]]</code> | ||
* <code>[[/var/log/auth.log]]</code> | * <code>[[/var/log/auth.log]]</code> | ||
+ | * [[sshd logs]] | ||
== See also == | == See also == |
Revision as of 11:46, 26 April 2023
ssh -vvv [email protected] 2>&1 | egrep "Authenticating to|Offering"
Errors
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
See also
- 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: