Getting started
SSH keys: create, install on the server and turn off password login
…Fix and check the permissions on the server: · chmod go-w ~ chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys ls -ld ~ ~/.ssh ~/.ssh/authorized…
for “ssh”
Getting started
…Fix and check the permissions on the server: · chmod go-w ~ chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys ls -ld ~ ~/.ssh ~/.ssh/authorized…
Security
…Now open a new terminal window on your computer and run: · ssh admin@203.0.113.10 ssh -o PubkeyAuthentication=no -o PreferredAuthentications=password…
Getting started
…After logging in, save the fingerprints — other administrators will need them: · for f in /etc/ssh/ssh_host_*_key.pub; do ssh-keygen -lf…
Backups and standby site
…A minimal example over the same backup-host connection: · export BORG_REPO=ssh://backup-host/srv/backup/app01-borg borg init --encryption=repokey borg…
Getting started
…Create an SSH key on your own computer — the article on SSH keys explains how. If the public key was not in your request…
Security
…A mistake in the firewall rules can cut off your SSH access. Allow your SSH port first and keep a second session open. If…
Getting started
…The second factor does not apply to SSH: allow only key-based login there — SSH keys. · Storage: ZFS or LVM · On a server with…
Network and VPN
For an administrator who wants RDP, SSH and databases on the server to be reachable only by the company’s staff, not the whole…
Network and VPN
…if a mistake cuts off SSH or RDP, the console is the only way to fix it. · An address plan. Pick the addresses yourself…
Network and VPN
…On Linux (SSH session) it is the first value in the output of this command (run it before sudo -i): · echo $SSH_CONNECTION · On…
Getting started
…the server is rebooted into a temporary Linux system with SSH access (the password is sent by email, or your public key is used…
Choosing a server and migrating
…State the OS in the request comment (it is installed before delivery) and, for Linux, your public SSH key: it is added to the…