K
K
kipishio kipishio2018-08-15 08:51:39
SSH
kipishio kipishio, 2018-08-15 08:51:39

How to reset all SSH settings to default on Linux?

I welcome everyone. Setting up ssh because I train a lot, then it becomes necessary to reset the program settings, or rather their default configuration.
Now, in order not to mess up what I did wrong or right in the ssh server config, I want to delete everything and reconfigure it. How can I remove all settings related to SSH on Mint to be sure that I now have everything by default?
Maybe for all Linux programs there is a simple one algorithm ...?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2018-08-15
@Tabletko

apt purge remove package with configs

K
kipishio kipishio, 2018-08-15
@kipishio

now I checked it again, it seems that all settings are deleted through the purge program, I just had a file created by ssh_conf, this is most likely my self-made file, so it was not deleted. the standard one is called sshd_conf and so it was removed and reinstalled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question