Ubuntu automatic SSH login

For logging on to a Linux server, a key can also be used instead of the password. The key is simply generated on the client and imported on the server. The server then trusts the client and does not require a password for access.

Execute the following on the client:

ssh-keygen -t rsa

copy the key to the server:

ssh-copy-id -i ~/.ssh/id_rsa.pub root@Server

see: http://wiki.ubuntuusers.de/SSH#Authentifizierung-ueber-Public-Keys

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 2023-02-15 from Bernhard | Übersetzung Deutsch |🔔

access Linux from Windows: SSH terminal, files, web | Linux | Install Ubuntu or start live system

Top articles in this section

Fan control Linux Debian: Fancontrol

After I installed a fan in my NAS, it always ran at top speed. In the BIOS I could set the speed, but the automatic mode did not work properly. Using the service fancontrol the speed of the fan can be linked to any sensor and any threshold and controlled automatically.

Debian or Ubuntu kernel update or change- current kernel

The currently available Linux kernel has the version: 6.3.5 (found: 2023-05-31). Source: www.kernel.org. The Linux distributions, as an example Debian or Ubuntu used new kernel versions only with some delay, accordingly the used kernel versions are usually somewhat older. Which kernel is active on a Linux system can be read out with the following command:

Install Ubuntu Server and Docker Snap vs. APT

My goal was to use Docker on a homebuilt NAS and later on a Mini-PC as a Container-Server. The operating system I used was the server version of Ubuntu, which is available in the form of an installation media on the official Ubuntu site: ubuntu.com/download/server. The current Ubuntu version is: 23.04 (found: 2023-04-21)

Questions / Comments

By continuing to browse the site, you agree to our use of cookies. More Details