Objet : Discussions sur le logiciel libre
Archives de la liste
- From: Jean-Marc MONGRELET <jeanmarc.mongrelet AT free.fr>
- To: linux-31 AT culte.org
- Subject: Re: ssh key rsa...
- Date: Wed, 07 Apr 2021 16:37:18 +0200
- Authentication-results: pic2s.le-pic.org; dkim=pass (2048-bit key; unprotected) header.d=free.fr header.i= AT free.fr header.b="Z78u4ngn"; dkim-atps=neutral
Le 07/04/2021 16:25, Albert ARIBAUD a écrit :
- tu penses relancer le processus mais en fait non. Vérifie qu'entre
avant et après la relance SSH, le PID du processus serveur SSH a bien
changé.
Le PID change bien!
- tu relances bien le serveur mais il est configuré pour aller chercher
sa configuration ailleurs que dans /etc/ssh/sshd_config. Vérifier la
ligne de commande du serveur SSH :
cat /proc/NNN/cmdline | tr '\0' ' '
(où NNN est le PID du processus)
Ça donne:
$ ps -ef | grep ssh
root 2721 1 0 16:29 ? 00:00:00 /usr/bin/sshd
root 2738 2721 3 16:29 ? 00:00:00 sshd: admin [priv]
root 2781 2738 0 16:29 ? 00:00:00 sshd: admin@pts/8
admin 2790 2782 0 16:30 pts/8 00:00:00 grep --color=auto ssh
$ cat /proc/2721/cmdline | tr '\0' ' '
/usr/bin/sshd
$ cat /proc/2738/cmdline | tr '\0' ' '
sshd: admin [priv]
$ cat /proc/2781/cmdline | tr '\0' ' '
sshd: admin@pts/8
Et donc ??
JM
- ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., jdanield, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., jdanield, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., jdd AT dodin.org, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
- Re: ssh key rsa..., Jean-Marc MONGRELET, 07/04/2021
- Re: ssh key rsa..., Albert ARIBAUD, 07/04/2021
Archives gérées par MHonArc 2.6.19+.