SSH : faile résult exit code [FR]

fr

#1

Bonjour,

Je me retrouve sans accès SSH, sans raison apparente. La semaine dernière j’ai changé mes ports SSH tout fonctionnais. Ce matin c’était opérationnel est là plus rien.

Voici le résultat de la commande service ssh status.

Avez vous une idée ?
Merci
Guillaume

Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Control process exited, code=exited status=255
Nov 23 17:11:00 ankh.gr systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Unit entered failed state.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Failed with result ‘exit-code’.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Service hold-off time over, scheduling restart.
Nov 23 17:11:00 ankh.gr systemd[1]: Stopped OpenBSD Secure Shell server.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Start request repeated too quickly.
Nov 23 17:11:00 ankh.gr systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Unit entered failed state.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Failed with result ‘exit-code’.


#2

Bonjour @Guillermo

Que dit sudo systemctl status ssh ?

Peut-être un problème de disque plein ? à partir de la console que dit df -h ?


#3

Bonsoir,

● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-11-23 17:11:00 CET; 56min ago

Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Control process exited, code=exited status=25
5
Nov 23 17:11:00 ankh.gr systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Unit entered failed state.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Failed with result ‘exit-code’.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Service hold-off time over, scheduling restart.
Nov 23 17:11:00 ankh.gr systemd[1]: Stopped OpenBSD Secure Shell server.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Start request repeated too quickly.
Nov 23 17:11:00 ankh.gr systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Unit entered failed state.
Nov 23 17:11:00 ankh.gr systemd[1]: ssh.service: Failed with result ‘exit-code’.

Filesystem Size Used Avail Use% Mounted on
udev 968M 0 968M 0% /dev
tmpfs 196M 5.4M 191M 3% /run
/dev/sda1 20G 3.6G 16G 20% /
tmpfs 979M 80K 979M 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 979M 0 979M 0% /sys/fs/cgroup

Voici les informations.
Je viens juste d’ajouter un deuxième domaine dans la journée, peut être est-ce qu’il y a lien.


#4

@arthurlutz

J’ai maintenant aussi le message suivant : Failed to get status information via dbus for service ssh, systemctl didn’t recognize this service ('NoSuchUnit)