
And, I think, this is enough in this case where you should guess the password by hand writing. That means, as local Server's administrator, you should login with a user that could have a hard to guess (odd, meaningless) username and strong password. Within Ubuntu, the login with root is disabled by default. I wold say, in my opinion, this is not necessary.
#UBUNTU SYSTEM MONITOR HEADLESS HOW TO#
No login prompt at reboot or How to prevent login with physical access If you are planning to use encrypted home directory you should tweak your SSH configuration (on the server side) as it is described here: SSH is allowing remote connections only after a local login to the server. Transfer the Client Key to the Server ( note): ssh-copy-id you should be able to connect to the SSH server with key authentication (you should enter your passphrase if you've setup it): ssh this works, you could disable the password authentication of the Server by editing the file /etc/ssh/sshd_config in this way: #PasswordAuthentication yesĭon't forgot to restart the SSH server: sudo systemctl restart rvice Generating RSA Keys (enter passphrase for more security in case someone steal your key, it should be different from your user's password): mkdir ~/.ssh Then, from a remote instance (from your LAN), let's assume it is also Ubuntu, execute the following steps ( source): ssh within your user's home directory: mkdir ~/.ssh Now you should be able to connect to the SSH server through the loopback interface (from/to the server itself) by the command: ssh key based authentication to increase the security.

Sudo apt install openssh-server openssh-sftp-server To install SSH server on Ubuntu execute the following commands (or tick Open SSH Server during Ubuntu Server's installation process the openssh-client should be installed by default): sudo apt update If it will be a home server with public access (as it sounds like), I would just install Ubuntu Server and will close the lid of the laptop to make it headless.

Here are asked four questions/requirements and some of them are not compatible each other.
