Code and config

sshd_config viewer

Drop sshd_config to see who may log in and how, what each setting means and its default, and which settings only apply in a Match block. Your browser opens it on your device: nothing is uploaded.

Opened on this device, never uploadedDrop or paste another file at any time

What you see

sshd_config in the viewerWhat it does
Settings explainedWith OpenSSH’s defaults and a link to the man page
Set twiceNamed, with the value sshd uses: the first
NotesPermitRootLogin yes, PasswordAuthentication yes, PermitEmptyPasswords yes
NameKnown by its name, with no extension; ssh_config too
Extensions.conf, .cnf, .ovpn
UploadNone: opened on your device

What is a sshd_config file?

In short

sshd_config is the OpenSSH server’s settings file, usually /etc/ssh/sshd_config: the port, whether root and passwords may log in, which keys count, and Match blocks for some users or addresses. It has no extension.

How to open a sshd_config file

  1. Add your sshd_config. Drop the file in the box, choose it or paste it.
  2. Look at it. The server at a glance (port, root login, passwords, keys), what each setting means and OpenSSH’s default under it when you switch Explanations on, keywords set twice with the one sshd uses (the first), and notes on settings such as PermitRootLogin yes.

Questions

Where is sshd_config?

On most Linux systems /etc/ssh/sshd_config, with more files in /etc/ssh/sshd_config.d/. On Windows, C:\ProgramData\ssh\sshd_config.

How do I check sshd_config before restarting?

Run sshd -t as root: it reads the file and says what is wrong without restarting anything.

Which value counts when a setting is written twice?

For most keywords sshd uses the first one it reads, so a line added at the end changes nothing. The list above the settings names both lines.

Is my file uploaded?

No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.

Can opening a file here damage it?

No. The viewer only reads the file: a browser gives a page no way to change it. If something goes wrong, the view stops and the file is as it was.

Related