curl https://exampleconfig.com/api/v1/config/original/8bfa390040fbeeae70bec14f2dccaf11?hint=ssh_import_id
wget -O ssh_import_id https://exampleconfig.com/api/v1/config/original/8bfa390040fbeeae70bec14f2dccaf11?hint=ssh_import_id
{ "_comment_": "This file is JSON syntax and will be loaded by ssh-import-id to obtain the URL string, which defaults to launchpad.net. The following URL *must* be an https address with a valid, signed certificate!!! %s is the variable that will be filled by the ssh-import-id utility.", "URL": "https://launchpad.net/~%s/+sshkeys" }
sudo apk add openssh-server
sudo apt update && sudo apt install openssh-server
sudo yum install openssh-server
sudo apt update && sudo apt install openssh-server
Use this original configuration file when you need to restore OpenSSH to its default state after misconfiguration, during fresh installations, or as a baseline for customization. It's particularly useful for troubleshooting when your current config isn't working properly.
Download this file and replace your current configuration at /etc/ssh/ssh_import_id
. Make sure to backup your existing configuration first, then restart the OpenSSH service to apply the changes.
This is the factory-default configuration that ships with OpenSSH on Ubuntu 20.04 LTS (Focal Fossa). While it provides a secure baseline, you should review and customize security settings based on your specific production requirements and compliance needs.
This configuration is specifically from Ubuntu 20.04 LTS (Focal Fossa). Different operating systems and versions may have slightly different default settings, security patches, or feature availability. Check the compatibility section above for other OS versions.
Yes, this original configuration is excellent for troubleshooting. Compare it with your current settings to identify modifications that might be causing issues, or temporarily replace your config with this one to isolate problems.