Linux for Beginners: SSH, SCP, RSYNC, and SSH Config | Lesson 9

Опубликовано: 14 Май 2026
на канале: DevLog
9
0

▶ Linux for Beginners Playlist:
   • Linux. Begginer course.  

In this lesson, you will learn how SSH works in Linux and how to connect to a remote server step by step. We will cover ssh-keygen, authorized_keys, known_hosts, ssh-agent, scp, rsync, and the SSH config file. This video is perfect for Linux beginners who want to understand remote access, passwordless login, and secure file copying in real practice. A simple and practical Linux SSH tutorial for beginners.

00:00 Introduction
00:49 What SSH is and the first connection
03:08 Generating a key: ssh-keygen
07:45 known_hosts and fingerprint in practice
10:02 ssh-agent and ssh-add
11:21 scp
14:00 rsync
15:31 ~/.ssh/config
16:43 Permissions on .ssh and why Permission denied happens
18:30 Summary and what comes next

Commands used in this lesson:
ssh [email protected] - connects to the remote machine as user alex
ssh-keygen - creates a new SSH key pair
ssh-copy-id [email protected] - copies your public key to the remote server for passwordless login
ssh-add ~/.ssh/id_ed25519 - adds the private key to ssh-agent
scp file.txt [email protected]:/home/alex/ - copies a local file to the remote server
scp [email protected]:/home/alex/file.txt . - copies a file from the remote server to the current local directory
rsync -av ./project/ [email protected]:/home/alex/project/ - synchronizes a local folder with a remote folder


#Linux #Ubuntu #DevOps