blog
Table des matières
- 2026:
- 2025:
13 billet(s) pour novembre 2026
| Réseaux - protocole QUIC mieux que TCP | 2026/11/17 21:26 | Jean-Baptiste |
| Notes conversion JSON YAML | 2026/11/13 11:16 | Jean-Baptiste |
| Git commit perdu | 2026/11/12 18:16 | Jean-Baptiste |
| Notes mojo lang | 2026/11/11 20:34 | Jean-Baptiste |
| Notes rust lang compilation | 2026/11/11 18:35 | Jean-Baptiste |
| Mémoire VSIZE VMSIZE SEGV lang C | 2026/11/11 15:59 | Jean-Baptiste |
| Ansible-navigator utilisation de ansible-vault | 2026/11/06 11:33 | Jean-Baptiste |
| Err Ansible - Module result deserialization failed No start of json char found | 2026/11/06 09:09 | Jean-Baptiste |
| Script Python conversion JSON vers CSV | 2026/11/06 08:14 | Jean-Baptiste |
| Filter Incoming IPv4 Packets Containing IP Options - cve-2026-98432 mitigation - Kernel TCP Use-After-Free | 2026/11/04 21:04 | Jean-Baptiste |
| Notes ZFS | 2026/11/03 18:04 | Jean-Baptiste |
| Diff image container | 2026/11/03 16:30 | Jean-Baptiste |
| Notes processus multi-thread | 2026/11/03 10:59 | Jean-Baptiste |
Pb SSH over VPN - Connexion KO après expecting SSH2_MSG_KEX_ECDH_REPLY
Connexion SSH KO après debug1: expecting SSH2_MSG_KEX_ECDH_REPLY \ Alors que flux réseaux OK.
ip r get 192.168.255.118
192.168.255.118 dev tun0 src 192.168.100.4 uid 0
cache
Solution : Réduire la MTU
ip l set mtu 1200 dev tun0
Pb SSH long lent
Voir aussi :
Sources :
Pb
ssh -vvv plop
debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session.
[ TRES LENT ICI ]
Autre commande longue. su sur le serveur et connecté en root
su - user -c date
Solution
# systemctl daemon-reexec
systemctl restart dbus
systemctl restart systemd-logind
Autres solutions pour autres Pb
DNS, Kerberos/GSSAPI
Coté client ~/.ssh/config
Host *
GSSAPIAuthentication no
GSSAPIKeyExchange no
Coté serveur /etc/ssh/sshd_config
UseDNS no
Pb ssh forward - Connection refused
Voir aussi : /proc/sys/net/ipv4/ip_unprivileged_port_start
ssh -R1443:web-app:443 vm_test
$ curl https://web-app:1443 curl: (7) Failed to connect to web-app port 1443: Connection refused
ou
$ curl https://web-app:1443 curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to web-app:1443
Erreur retournée sur la console du tunnel ssh
connect to web-app port 443 failed: Permission denied
Solution
Le problème vient de SELinux
Sur la machine qui lance la commande ssh
sudo setsebool -P nis_enabled 1
Pb ssh - symbol lookup error /usr/lib64/libk5crypto.so.3 undefined symbol EVP_KDF_ctrl version OPENSSL_1_1_1b
$ ssh ssh: symbol lookup error: /usr/lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b
Solution
unset LD_LIBRARY_PATH # ou env LD_LIBRARY_PATH= ssh
alias ssh='env LD_LIBRARY_PATH= ssh'
Pb ssh - no matching cipher found
$ ssh old-rhel3 Unable to negotiate with UNKNOWN port 65535: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se
Solution
ssh -c aes128-cbc old-rhel3
ou mettre Ciphers +aes256-cbc dans le ~/.ssh/config pour ne pas à avoir ajouter systématiquement -c aes128-cbc
~/.ssh/config
Host old-rhel3
KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
SetEnv TERM=linux
Ciphers +aes256-cbc
blog.txt · Dernière modification : de 127.0.0.1
