Avé tout le monde.
Je vous soumets un problème qui doit sans doute être peu compliqué pour un veritable admin, mais qui me gâche la fête depuis hier.
J'ai migré avec succès de Debian 9 à 10. Tout s'est bien passé sauf :
mon accès ssh/sftp ne marche plus, le serveur ssh ne répond pas OU refuse la connexion, malgré mes précautions (j'avais demandé de garder le fichier de config existant). ssh/sftp marchait bien sous Debian 9.
Message PuTTY :
"Network error : connection refused"
Message de Core FTP LE :
"Resolving xx.xxx.xxx.xxx…
xx.xxx.xxx.xxx [22] connecting…
SFTP connection error - Connection timed out
Can't establish connection --> xx.xxx.xxx.xxx:22 @ Thu Nov 07 15:24:34 2019 (10038-10060) :
Mon serveur chez OVH :
Operating system Debian Linux 10
Webmin version 1.930
Kernel and CPU Linux 3.8.13-xxxx-grs-ipv6-64-vps on x86_64
Processor information AMD Opteron(tm) Processor 6128, 4 cores
PHP 7.2.24-1+0~20191026.31+debian8~1.gbpbbacde (cli) (built: Oct 26 2019 16:08:53) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24-1+0~20191026.31+debian8~1.gbpbbacde, Copyright (c) 1999-2018, by Zend Technologies
J'ai donc desinstallé openssh-server et openssh-client
apt-get remove openssh-server openssh-client --purge
et nettoyé
apt-get autoremove
sudo apt-get autoclean
avant de rechercher à nouveau ces deux packages
apt-get update
Voici ce qui se passe quand je reinstalle openssh-server et openssh-client ("-y --force-yes -f" permet de passer la confirmation de continuation au script, dans webmin)
apt-get -y --force-yes -f install openssh-server openssh-client
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libxmuu1 openssh-sftp-server xauth
Suggested packages:
keychain libpam-ssh monkeysphere ssh-askpass molly-guard rssh ufw
The following NEW packages will be installed:
libxmuu1 openssh-client openssh-server openssh-sftp-server xauth
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 64.1 kB/1243 kB of archives.
After this operation, 5375 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian buster/main amd64 libxmuu1 amd64 2:1.1.2-2+b3 [23.9 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian buster/main amd64 xauth amd64 1:1.0.10-1 [40.3 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 64.1 kB in 0s (341 kB/s)
(Reading database ...
(Reading database ... 5%
[...]
(Reading database ... 100%
(Reading database ... 76387 files and directories currently installed.)
Preparing to unpack .../openssh-client_1%3a7.9p1-10+deb10u1_amd64.deb ...
Unpacking openssh-client (1:7.9p1-10+deb10u1) ...
Selecting previously unselected package libxmuu1:amd64.
Preparing to unpack .../libxmuu1_2%3a1.1.2-2+b3_amd64.deb ...
Unpacking libxmuu1:amd64 (2:1.1.2-2+b3) ...
Selecting previously unselected package openssh-sftp-server.
Preparing to unpack .../openssh-sftp-server_1%3a7.9p1-10+deb10u1_amd64.deb ...
Unpacking openssh-sftp-server (1:7.9p1-10+deb10u1) ...
Preparing to unpack .../openssh-server_1%3a7.9p1-10+deb10u1_amd64.deb ...
Unpacking openssh-server (1:7.9p1-10+deb10u1) ...
Selecting previously unselected package xauth.
Preparing to unpack .../xauth_1%3a1.0.10-1_amd64.deb ...
Unpacking xauth (1:1.0.10-1) ...
Setting up openssh-client (1:7.9p1-10+deb10u1) ...
Setting up grub-pc (2.02+dfsg1-20) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
/etc/grub.d/06_OVHkernel: line 6: /usr/lib/grub/update-grub_lib: No such file or directory
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Setting up keyboard-configuration (1.193~deb10u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
cat: '/sys/bus/usb/devices/*:*/bInterfaceClass': No such file or directory
cat: '/sys/bus/usb/devices/*:*/bInterfaceSubClass': No such file or directory
cat: '/sys/bus/usb/devices/*:*/bInterfaceProtocol': No such file or directory
/var/lib/dpkg/info/keyboard-configuration.postinst: 108: /var/lib/dpkg/info/keyboard-configuration.postinst: cannot create /etc/default/keyboard: Permission denied
dpkg: error processing package keyboard-configuration (--configure):
installed keyboard-configuration package post-installation script subprocess returned error exit status 2
Setting up libxmuu1:amd64 (2:1.1.2-2+b3) ...
Setting up openssh-sftp-server (1:7.9p1-10+deb10u1) ...
dpkg: dependency problems prevent configuration of console-setup:
console-setup depends on keyboard-configuration (= 1.193~deb10u1); however:
Package keyboard-configuration is not configured yet.
dpkg: error processing package console-setup (--configure):
dependency problems - leaving unconfigured
Setting up openssh-server (1:7.9p1-10+deb10u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
rescue-ssh.target is a disabled or a static unit, not starting it.
Job for ssh.service failed because the control process exited with error code.
See "systemctl status ssh.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ssh, action "restart" failed.
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2019-11-07 15:21:08 CET; 9ms ago
Docs: man:sshd(8)
man:sshd_config(5)
Process: 30350 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255/EXCEPTION)
dpkg: error processing package openssh-server (--configure):
installed openssh-server package post-installation script subprocess returned error exit status 1
Setting up xauth (1:1.0.10-1) ...
dpkg: dependency problems prevent configuration of console-setup-linux:
console-setup-linux depends on keyboard-configuration (= 1.193~deb10u1); however:
Package keyboard-configuration is not configured yet.
dpkg: error processing package console-setup-linux (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (241-7~deb10u1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
grub-pc
keyboard-configuration
console-setup
openssh-server
console-setup-linux
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)
service ssh restart
Job for ssh.service failed because the control process exited with error code.
See "systemctl status ssh.service" and "journalctl -xe" for details.
systemctl status ssh.service
ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2019-11-07 15:24:53 CET; 18s ago
Docs: man:sshd(8)
man:sshd_config(5)
Process: 31292 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255/EXCEPTION)
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 5.
Nov 07 15:24:53 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Start request repeated too quickly.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
Nov 07 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
Je sais qu'il y a des erreurs pour d'autres modules, mais n'ont toutefois pas causé des problèmes tout au long de la migration Debian 7 > 8 > 9 :
grub-pc
keyboard-configuration
console-setup
console-setup-linux
(mais je peux me tromper !)
A rectifier … une fois que mon accès ssh/sftp remarche !
Merci de vos lumières, et de votre précieuse assistance !
Christian
# conf
Posté par M.Poil (site web personnel) . Évalué à 4. Dernière modification le 07 novembre 2019 à 19:57.
journalctl -xu ssh
netstat -lpn |grep 22
tu as quelque chose ?mv /etc/ssh{,.old} apt-get -o DPkg::options::=--force-confmiss --reinstall install openssh-client openssh-server openssh-sftp-server
Is it a Bird? Is it a Plane?? No, it's Super Poil !!!
[^] # Re: conf
Posté par Ludox . Évalué à 1.
Bonjour, je dis sans doute une énorme connerie (patapé, patapé), mais Buster avec Gnome bloque les connexions entrantes pas défauts, non? Soit: paramètres/partage/connexions distantes: activées?
[^] # Re: conf
Posté par Kreego . Évalué à 1.
Hello Ludox,
Non, c'est juste un serveur dédié au hébergement de quelques sites, chez OVH.
C
[^] # Re: conf
Posté par Ludox . Évalué à 1.
Ah,ok.
Ludox
[^] # Re: conf
Posté par Kreego . Évalué à 0. Dernière modification le 07 novembre 2019 à 22:20.
Sommaire
Merci M.Poil !
Re : permissions louches : yep, y a souci je crois… Partition OK MAIS visiblement problème dans /etc car impossible d'y faire quoi que ce soit - j'ai pas réussi à ajouter un fichier, renommer, effacer le moindre élément. Tests fait dans /etc/, /etc/default/keyboards, /etc/ssh/, /etc/Imagemagick :
"failed to create: test : No such file or directory"
J'ai pas sciemment fait chattr +i sur /etc
Nov 07 15:24:51 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
-- Subject: A start job for unit ssh.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has begun execution.
-- The job identifier is 4318.
Nov 07 15:24:51 vps129566 sshd[31283]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 07 15:24:51 vps129566 sshd[31283]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 07 15:24:51 vps129566 sshd[31283]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 07 15:24:51 vps129566 sshd[31283]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 07 15:24:51 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- An ExecStartPre= process belonging to unit ssh.service has exited.
-- The process' exit code is 'exited' and its exit status is 255.
Nov 07 15:24:51 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- The unit ssh.service has entered the 'failed' state with result 'exit-code'.
Nov 07 15:24:52 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
-- Subject: A start job for unit ssh.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has finished with a failure.
-- The job identifier is 4318 and the job result is failed.
Nov 07 15:24:52 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 07 15:24:52 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 1.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Automatic restarting of the unit ssh.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 07 15:24:52 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
-- Subject: A stop job for unit ssh.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A stop job for unit ssh.service has finished.
-- The job identifier is 4376 and the job result is done.
Nov 07 15:24:52 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
-- Subject: A start job for unit ssh.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has begun execution.
-- The job identifier is 4376.
Nov 07 15:24:52 vps129566 sshd[31285]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 07 15:24:52 vps129566 sshd[31285]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 07 15:24:52 vps129566 sshd[31285]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 07 15:24:52 vps129566 sshd[31285]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 07 15:24:52 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- An ExecStartPre= process belonging to unit ssh.service has exited.
-- The process' exit code is 'exited' and its exit status is 255.
Nov 07 15:24:52 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- The unit ssh.service has entered the 'failed' state with result 'exit-code'.
Nov 07 15:24:52 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
-- Subject: A start job for unit ssh.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has finished with a failure.
-- The job identifier is 4376 and the job result is failed.
Nov 07 15:24:52 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 07 15:24:52 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 2.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Automatic restarting of the unit ssh.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 07 15:24:52 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
-- Subject: A stop job for unit ssh.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A stop job for unit ssh.service has finished.
-- The job identifier is 4434 and the job result is done.
Nov 07 15:24:52 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
-- Subject: A start job for unit ssh.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has begun execution.
-- The job identifier is 4434.
Nov 07 15:24:52 vps129566 sshd[31287]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 07 15:24:52 vps129566 sshd[31287]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 07 15:24:52 vps129566 sshd[31287]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 07 15:24:52 vps129566 sshd[31287]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 07 15:24:52 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- An ExecStartPre= process belonging to unit ssh.service has exited.
-- The process' exit code is 'exited' and its exit status is 255.
Nov 07 15:24:52 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- The unit ssh.service has entered the 'failed' state with result 'exit-code'.
Nov 07 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
-- Subject: A start job for unit ssh.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has finished with a failure.
-- The job identifier is 4434 and the job result is failed.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 3.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Automatic restarting of the unit ssh.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 07 15:24:53 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
-- Subject: A stop job for unit ssh.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A stop job for unit ssh.service has finished.
-- The job identifier is 4492 and the job result is done.
Nov 07 15:24:53 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
-- Subject: A start job for unit ssh.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has begun execution.
-- The job identifier is 4492.
Nov 07 15:24:53 vps129566 sshd[31289]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 07 15:24:53 vps129566 sshd[31289]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 07 15:24:53 vps129566 sshd[31289]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 07 15:24:53 vps129566 sshd[31289]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- An ExecStartPre= process belonging to unit ssh.service has exited.
-- The process' exit code is 'exited' and its exit status is 255.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- The unit ssh.service has entered the 'failed' state with result 'exit-code'.
Nov 07 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
-- Subject: A start job for unit ssh.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has finished with a failure.
-- The job identifier is 4492 and the job result is failed.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 4.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Automatic restarting of the unit ssh.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 07 15:24:53 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
-- Subject: A stop job for unit ssh.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A stop job for unit ssh.service has finished.
-- The job identifier is 4550 and the job result is done.
Nov 07 15:24:53 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
-- Subject: A start job for unit ssh.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has begun execution.
-- The job identifier is 4550.
Nov 07 15:24:53 vps129566 sshd[31292]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 07 15:24:53 vps129566 sshd[31292]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 07 15:24:53 vps129566 sshd[31292]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 07 15:24:53 vps129566 sshd[31292]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- An ExecStartPre= process belonging to unit ssh.service has exited.
-- The process' exit code is 'exited' and its exit status is 255.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- The unit ssh.service has entered the 'failed' state with result 'exit-code'.
Nov 07 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
-- Subject: A start job for unit ssh.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has finished with a failure.
-- The job identifier is 4550 and the job result is failed.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Automatic restarting of the unit ssh.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 07 15:24:53 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
-- Subject: A stop job for unit ssh.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A stop job for unit ssh.service has finished.
-- The job identifier is 4608 and the job result is done.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Start request repeated too quickly.
Nov 07 15:24:53 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- The unit ssh.service has entered the 'failed' state with result 'exit-code'.
Nov 07 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
-- Subject: A start job for unit ssh.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- A start job for unit ssh.service has finished with a failure.
-- The job identifier is 4608 and the job result is failed.```
Nov 7 15:24:51 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
Nov 7 15:24:51 vps129566 sshd[31283]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 7 15:24:51 vps129566 sshd[31283]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 7 15:24:51 vps129566 sshd[31283]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 7 15:24:51 vps129566 sshd[31283]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 7 15:24:51 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 7 15:24:51 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
Nov 7 15:24:52 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 7 15:24:52 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 7 15:24:52 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 1.
Nov 7 15:24:52 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
Nov 7 15:24:52 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
Nov 7 15:24:52 vps129566 sshd[31285]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 7 15:24:52 vps129566 sshd[31285]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 7 15:24:52 vps129566 sshd[31285]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 7 15:24:52 vps129566 sshd[31285]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 7 15:24:52 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 7 15:24:52 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
Nov 7 15:24:52 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 7 15:24:52 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 7 15:24:52 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 2.
Nov 7 15:24:52 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
Nov 7 15:24:52 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
Nov 7 15:24:52 vps129566 sshd[31287]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 7 15:24:52 vps129566 sshd[31287]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 7 15:24:52 vps129566 sshd[31287]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 7 15:24:52 vps129566 sshd[31287]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 7 15:24:52 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 7 15:24:52 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
Nov 7 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 3.
Nov 7 15:24:53 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
Nov 7 15:24:53 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
Nov 7 15:24:53 vps129566 sshd[31289]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 7 15:24:53 vps129566 sshd[31289]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 7 15:24:53 vps129566 sshd[31289]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 7 15:24:53 vps129566 sshd[31289]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
Nov 7 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 4.
Nov 7 15:24:53 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
Nov 7 15:24:53 vps129566 systemd[1]: Starting OpenBSD Secure Shell server…
Nov 7 15:24:53 vps129566 sshd[31292]: /etc/ssh/sshd_config line 14: Deprecated option UsePrivilegeSeparation
Nov 7 15:24:53 vps129566 sshd[31292]: /etc/ssh/sshd_config line 17: Deprecated option KeyRegenerationInterval
Nov 7 15:24:53 vps129566 sshd[31292]: /etc/ssh/sshd_config line 18: Deprecated option ServerKeyBits
Nov 7 15:24:53 vps129566 sshd[31292]: /etc/ssh/sshd_config line 29: Bad SSH2 cipher spec '3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr'.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Control process exited, code=exited, status=255/EXCEPTION
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
Nov 7 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Service RestartSec=100ms expired, scheduling restart.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Scheduled restart job, restart counter is at 5.
Nov 7 15:24:53 vps129566 systemd[1]: Stopped OpenBSD Secure Shell server.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Start request repeated too quickly.
Nov 7 15:24:53 vps129566 systemd[1]: ssh.service: Failed with result 'exit-code'.
Nov 7 15:24:53 vps129566 systemd[1]: Failed to start OpenBSD Secure Shell server.
Réinstallation des paquets:
Problème (dsl - on essaie de renommer tous les fichiers de /ssh en .old ?)
"mv: missing destination file operand after '/etc/ssh{,.old}'
Try 'mv --help' for more information."
J'attends ta réponse avant de poursuivre avec la réinstallation.
En tout cas, on semble avoir un faisceau d'indices…
C
[^] # Re: conf
Posté par -=[ silmaril ]=- (site web personnel) . Évalué à 7.
=> ta configuration n'est pas compatible
=> supprime la ligne 29 de /etc/ssh/sshd_config et ça devrait être bon
[^] # Re: conf
Posté par Kreego . Évalué à 2. Dernière modification le 07 novembre 2019 à 22:59.
Bonjour l'ami fan de Tolkien !
Avec une commande, le problème se volatilisa !
PuTTY et Core FTP remarche comme avant…
Je suppose que vous avez déjà rencontré ce type d'erreur ? Combien d'années de métier ?
Un très grand merci pour votre apport - comment évaluer votre réponse svp ? Je suis nouveau sur le forum…
Christian
[^] # Re: conf
Posté par M.Poil (site web personnel) . Évalué à 5. Dernière modification le 08 novembre 2019 à 06:31.
C'est écrit dans les logs au dessus :x
L'informatique c'est simple il suffit de savoir lire =)
Is it a Bird? Is it a Plane?? No, it's Super Poil !!!
[^] # Re: conf
Posté par Kreego . Évalué à 1.
M. Poil,
C'est souvent comme ça dans la vie ;-)
Grace à tes suggestions, j'ai pu accéder à des logs dont j'ignorais l'existence. La réponse était, en effet, écrite noir sur blanc !
Mais j'avais déjà passé la journée à chercher des solutions via Google, et rien marchait… Je commençais à fatiguer.
En tout cas, il reste un problème de droits dans /etc qui provoque des erreurs à l'installation d'autres packets, je vais tranquillement revisiter cela et peut-être poser d'autres questions.
Un grand merci à silmaril et à toi, c'est très apprécié.
Christian
[^] # Re: conf
Posté par -=[ silmaril ]=- (site web personnel) . Évalué à 4. Dernière modification le 08 novembre 2019 à 15:46.
parce qu'en général les gens cherchent des solutions "finales" sur google en se basant sur un problème générique, au lieu de lire tout simplement ce que le système renvoi ^
Celle la non pas particulièrement, mais les appli qui ne demarrent pas en général oui ^
Pour être plus précis dans ton premier "dump" il y avait:
Deux écoles ici, soit à la systemd, lancer: "systemctl status ssh.service" puis "journalctl -xe" si le premier n'aide pas assez.
Soit directement lancer à la main "/usr/sbin/sshd -t", qui est la commande utilisé par systemd pour vérifier que le service peut démarrer (dans le cas du service ssh) et qui ici à renvoyé une erreur (status=255/EXCEPTION), vous aurais sorti directement le message
[^] # Re: conf
Posté par Kreego . Évalué à 1.
Merci silmaril pour ce post-mortem…
En te relisant, je me rends bien compte qu'il faudra que je me forme pour acquérir des compétences nécessaires à me dépanner pour mes propres projets. La passation, à l'époque, en SSL m'avait bien pourri la vie pendant des jours…
Question : existe-t-il des formations gratuites ou payantes pour obtenir une compétence un peu polyvalente en gestion de serveurs ? En tant que bidouilleur invétéré depuis le début des années 90, je ne suis pas un débutant, et absolument pas expert. Quand ça casse, il y en a pour des jours - je ne peux pas continuer comme ça ;-)
Non pas une formation diplômante, juste de quoi être à l'aise avec les manips courantes d'un serveur comme le mien chez OVH.
C'est probablement un sujet qui mérite son propre fil…
C
[^] # Re: conf
Posté par NeoX . Évalué à 4. Dernière modification le 09 novembre 2019 à 19:39.
[^] # Re: conf
Posté par _kaos_ . Évalué à 4. Dernière modification le 08 novembre 2019 à 07:19.
Salut,
En complément de la réponse au dessus :
Il suffit de cliquer sur le lien
pertinent
en bas du message.Matricule 23415
[^] # Re: conf
Posté par Arthur Accroc . Évalué à 2.
Avec un compte créé pour l’occasion, il ne doit pas avoir accès aux votes.
« Le fascisme c’est la gangrène, à Santiago comme à Paris. » — Renaud, Hexagone
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.