# Can i make YunoHost manage this file /etc/ssh/sshd\_config if I modified it before installation?

**URL:** https://forum.yunohost.org/t/can-i-make-yunohost-manage-this-file-etc-ssh-sshd-config-if-i-modified-it-before-installation/26864
**Category:** Support
**Tags:** english
**Created:** [October 22, 2023, 9:39am UTC](https://forum.yunohost.org/t/can-i-make-yunohost-manage-this-file-etc-ssh-sshd-config-if-i-modified-it-before-installation/26864 "2023-10-22T09:39:49Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![metyun](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/f14d63/32.png) [@metyun](https://forum.yunohost.org/u/metyun)
#### Post date: [October 22, 2023, 11:54am UTC](https://forum.yunohost.org/t/can-i-make-yunohost-manage-this-file-etc-ssh-sshd-config-if-i-modified-it-before-installation/26864/2 "2023-10-22T11:54:12Z")

</div>

Hi,

What do you want to modify in sshd\_config?

You can find commands with the --help option. Example:

yunohost --help  
yunohost tools --help  
yunohost tools upgrade --help

> [@How to Manage YunoHost from CommandLine?](https://forum.yunohost.org/t/how-to-manage-yunohost-from-commandline/26192/5):
>
> On my server i’ve got a webapp installation Go to this directory cd /var/www/my\_webapp/ And I run this command to convert a man page to a pdf man -t yunohost | ps2pdf - yunohost.pdf If you want , you can download this pdf here [[https://crust.ovh/site/yunohost.pdf](https://crust.ovh/site/yunohost.pdf)](Yunohost Man Format PDF) You can write a bash script and put a cron to have always a update file. ++

> [@hugogogo](#):
>
> But I would lilke YunoHost to manage it actually

You can make modifications and allow yunohost to manage this file with a hook. But if there’s a native yunohost command, use it rather than a hook.

> [@Share your "hooks" to apply custom configurations- Partagez vos "hooks" pour appliquer des configurations personnelles](https://forum.yunohost.org/t/share-your-hooks-to-apply-custom-configurations-partagez-vos-hooks-pour-appliquer-des-configurations-personnelles/17235):
>
> gb English version Translate with DeePL A “hook” allows you to apply personal configurations to Yunohost files without the system detecting them as modified. Without a hook, Yunohost does not update these files and this is a real risk in terms of security and system stability. This is especially true with SSH by modifying sshd\_config. The solution without a hook is to run the following command after each update to see if there have been any changes: yunohost tools regen-conf -n -d If there…

---

_[View the full topic](https://forum.yunohost.org/t/can-i-make-yunohost-manage-this-file-etc-ssh-sshd-config-if-i-modified-it-before-installation/26864)._
