What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0
How are you able to access your server: The webadmin
Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
Hello everybody,
Yesterday I installed Yunohost 12.0 / Nextcloud on a Dell Latitude E6540. All this stuff is behind a BBox Miami fiber box by an Ethernet wired connexion.
Then, early this morning before I went to bed everything worked perfectly and all my clients were synchronized and I can access to Nextcloud from the outside. Before sleeping, I left one of my laptop connected to the server throughout SSH.
A few hours later at my wake, I just wanted to remove some temp folder I created on the server but I remarked that my SSH session couldnât be established again:
$ ssh pascal@192.168.1.58
ssh: connect to host 192.168.1.58 port 22: No route to host
$ ssh 192.168.1.58
ssh: connect to host 192.168.1.58 port 22: No route to host
So, I tried to ping the server:
$ ping 192.168.1.58
PING 192.168.1.58 (192.168.1.58) 56(84) bytes of data.
From 192.168.1.182 icmp_seq=1 Destination Host Unreachable
So, I restarted all my stuff: my client laptop, the server, the BBox. Same thing: SSH is unreachable.
Then, I tried to use another ethernet port: same thing
However, if I try in the reverse way (connect to my client laptop from the server) itâs working.
I canât understand, I did nothing during my sleep
I found nothing relevant neither in logs nor in Failtoban.
So whatâs wrong ?
Could you help me please ?
Thanks a lot in advance,
Pascal
Share relevant logs or error messages
args:
key: security
value: null
ended_at: 2025-05-01 08:17:32.503552
error: null
interface: api
operation: settings_set
parent: null
related_to:
started_at: 2025-05-01 08:17:32.061387
success: true
yunohost_version: 12.0.14
============
2025-05-01 10:17:32,070: DEBUG - Nothing to update in LDAP
2025-05-01 10:17:32,070: INFO - Saving the new configurationâŠ
2025-05-01 10:17:32,090: DEBUG - Formating result in âexportâ mode
2025-05-01 10:17:32,094: DEBUG - Executing command â[âshâ, â-câ, â/bin/bash -x â./03-sshâ pre '' '' /var/cache/yunohost/regenconf/pending/ssh 7>&1â]â
2025-05-01 10:17:32,097: DEBUG - + set -e
2025-05-01 10:17:32,098: DEBUG - + . /usr/share/yunohost/helpers
2025-05-01 10:17:32,098: DEBUG - ++++ dirname â /usr/share/yunohost/helpers
2025-05-01 10:17:32,099: DEBUG - +++ cd â /usr/share/yunohost
2025-05-01 10:17:32,099: DEBUG - +++ pwd
2025-05-01 10:17:32,100: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-05-01 10:17:32,100: DEBUG - ++ YNH_HELPERS_VERSION=1
2025-05-01 10:17:32,101: DEBUG - ++ readonly âXTRACE_ENABLE=set -o xtraceâ
2025-05-01 10:17:32,101: DEBUG - ++ XTRACE_ENABLE=âset -o xtraceâ
2025-05-01 10:17:32,128: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/ssh
2025-05-01 10:17:32,129: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/ssh
2025-05-01 10:17:32,129: DEBUG - + cd /usr/share/yunohost/conf/ssh
2025-05-01 10:17:32,164: DEBUG - + export compatibility=intermediate
2025-05-01 10:17:32,164: DEBUG - + compatibility=intermediate
2025-05-01 10:17:32,197: DEBUG - + export port=22
2025-05-01 10:17:32,198: DEBUG - + port=22
2025-05-01 10:17:32,198: DEBUG - ++ int_to_bool
2025-05-01 10:17:32,198: DEBUG - ++ sed -e âs/^1$/True/gâ -e âs/^0$/False/gâ -e âs/^true$/True/gâ -e âs/^false$/False/gâ
2025-05-01 10:17:32,231: DEBUG - + export password_authentication=True
2025-05-01 10:17:32,231: DEBUG - + password_authentication=True
2025-05-01 10:17:32,232: DEBUG - ++ ls /etc/ssh/ssh_host_ed25519_key /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_ecdsa_key
2025-05-01 10:17:32,233: DEBUG - + export âssh_keys=/etc/ssh/ssh_host_ecdsa_key
2025-05-01 10:17:32,233: DEBUG - /etc/ssh/ssh_host_ed25519_key
2025-05-01 10:17:32,233: DEBUG - /etc/ssh/ssh_host_rsa_keyâ
2025-05-01 10:17:32,234: DEBUG - + ssh_keys=â/etc/ssh/ssh_host_ecdsa_key
2025-05-01 10:17:32,234: DEBUG - /etc/ssh/ssh_host_ed25519_key
2025-05-01 10:17:32,234: DEBUG - /etc/ssh/ssh_host_rsa_keyâ
2025-05-01 10:17:32,234: DEBUG - + [[ -f /proc/net/if_inet6 ]]
2025-05-01 10:17:32,234: DEBUG - + ipv6_enabled=true
2025-05-01 10:17:32,234: DEBUG - + export ipv6_enabled
2025-05-01 10:17:32,234: DEBUG - + ynh_render_template sshd_config /var/cache/yunohost/regenconf/pending/ssh/etc/ssh/sshd_config
2025-05-01 10:17:32,234: DEBUG - + local template_path=sshd_config
2025-05-01 10:17:32,234: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/ssh/etc/ssh/sshd_config
2025-05-01 10:17:32,234: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/ssh/etc/ssh/sshd_config
2025-05-01 10:17:32,235: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/ssh/etc/ssh
2025-05-01 10:17:32,235: DEBUG - + python3 -c âimport os, sys, jinja2; sys.stdout.write(
2025-05-01 10:17:32,236: DEBUG - jinja2.Template(sys.stdin.read()
2025-05-01 10:17:32,236: DEBUG - ).render(os.environ));â
2025-05-01 10:17:32,337: DEBUG - VĂ©rification de la configuration en attente qui aurait Ă©tĂ© appliquĂ©e pour la catĂ©gorie âsshââŠ
2025-05-01 10:17:32,345: DEBUG - processing pending conf â/var/cache/yunohost/regenconf/pending/ssh/etc/ssh/sshd_configâ to system conf â/etc/ssh/sshd_configâ
2025-05-01 10:17:32,346: DEBUG - Le fichier de configuration â/etc/ssh/sshd_configâ a Ă©tĂ© sauvegardĂ© sous â/var/cache/yunohost/regenconf/backup/etc/ssh/sshd_config-20250501.081732â
2025-05-01 10:17:32,352: DEBUG - Le fichier de configuration â/etc/ssh/sshd_configâ a Ă©tĂ© mis Ă jour
2025-05-01 10:17:32,352: SUCCESS - La configuration a Ă©tĂ© mise Ă jour pour âsshâ
2025-05-01 10:17:32,354: DEBUG - updating conf hashes for âsshâ with: {â/etc/ssh/sshd_configâ: â25ba62828712765d39b7e22713c2fe84â}
2025-05-01 10:17:32,367: DEBUG - Executing command â[âshâ, â-câ, â/bin/bash -x â./03-sshâ post '' '' /etc/ssh/sshd_config 7>&1â]â
2025-05-01 10:17:32,370: DEBUG - + set -e
2025-05-01 10:17:32,370: DEBUG - + . /usr/share/yunohost/helpers
2025-05-01 10:17:32,371: DEBUG - ++++ dirname â /usr/share/yunohost/helpers
2025-05-01 10:17:32,371: DEBUG - +++ cd â /usr/share/yunohost
2025-05-01 10:17:32,372: DEBUG - +++ pwd
2025-05-01 10:17:32,372: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-05-01 10:17:32,372: DEBUG - ++ YNH_HELPERS_VERSION=1
2025-05-01 10:17:32,373: DEBUG - ++ readonly âXTRACE_ENABLE=set -o xtraceâ
2025-05-01 10:17:32,374: DEBUG - ++ XTRACE_ENABLE=âset -o xtraceâ
2025-05-01 10:17:32,392: DEBUG - + do_post_regen /etc/ssh/sshd_config
2025-05-01 10:17:32,393: DEBUG - + regen_conf_files=/etc/ssh/sshd_config
2025-05-01 10:17:32,393: DEBUG - + [[ -n /etc/ssh/sshd_config ]]
2025-05-01 10:17:32,393: DEBUG - + chown root:root /etc/ssh/sshd_config
2025-05-01 10:17:32,394: DEBUG - + chmod 644 /etc/ssh/sshd_config
2025-05-01 10:17:32,395: DEBUG - + systemctl restart ssh
2025-05-01 10:17:32,497: DEBUG - Journal complet de cette opĂ©ration : â RĂ©gĂ©nĂ©rer les configurations du systĂšme âsshâ â
2025-05-01 10:17:32,501: SUCCESS - Config updated as expected