SHOW VARIABLES like ‚%log%‘; SELECT @@log_warnings; SET GLOBAL log_warnings=2; log_warnings = 2 log_error_verbosity = 3 SET GLOBAL log_error_verbosity=2; — set it SELECT @@log_error_verbosity=2; log_error_verbosity 1 ERROR 2 ERROR, WARNING 3 ERROR, WARNING, INFORMATION
~/.ssh/config Host * ServerAliveInterval 150 ServerAliveCountMax 15 HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa p.s. Hostkey ist Bonus für alte Server >> oder serverseitig -> sshd_config: TCPKeepAlive yes ClientAliveInterval 120 ClientAliveCountMax 15
ssh root@server-ip -oHostKeyAlgorithms=+ssh-dss oder dauerhaft sudo vi /etc/ssh/ssh_config.d/server-ip.conf Host 10.xxx.xxx.xxx HostKeyAlgorithms +ssh-dss KexAlgorithms +diffie-hellman-group1-sha1 Ciphers +aes128-cbc
falsche Zeilen löschen und —> autoincrement value setzen!
PROMPT_COMMAND=“history -a“ in .bashrc warum auch immer das nicht standard ist :-//