This beginner course develops a practical SSH workflow for remote sessions and encrypted file transfer. Through five guided labs, you will connect to a simulated server, establish key-based authentication, move files with three transfer tools, and replace repeated connection details with SSH client aliases.
The final deployment challenge combines those skills: create a key pair, authorize it for a prepared deployment account, define a production alias, and synchronize a web application directory through that alias.
What You Will Learn
- Open an SSH session, evaluate the first-connect host fingerprint prompt, verify identity, and exit cleanly
- Generate a 2048-bit RSA key pair and distinguish the private key from its public counterpart
- Install a public key with
ssh-copy-idand confirm login without another account-password prompt - Upload and download individual files with
scp - Synchronize a directory over SSH with archive and verbose
rsyncoptions - Navigate local and remote sides of an SFTP session with
lls,ls,lcd,put, andget - Define reusable host, hostname, and user settings in
~/.ssh/config - Deploy a prepared
webappdirectory to a simulated production account through an SSH alias
Who This Course Is For
This course is for Linux beginners, developers, and aspiring system or DevOps administrators who want hands-on foundations in SSH access and secure command-line file transfer.
Prerequisites: Basic terminal navigation, file creation and inspection, and comfort editing a text file; no prior SSH administration experience is required.
Learning environment: A provided Ubuntu-based LabEx terminal with local SSH services, prepared labuser and deployer accounts, practice files, and isolated home-directory SSH configuration.
Frequently Asked Questions
How is the course structured?
Five labs provide guided practice. The sixth item is a deployment challenge where you configure keys and a production alias, then copy the complete webapp directory with rsync -av using less guidance.
Do I need access to a separate remote server?
No. All remote sessions and transfers target prepared accounts on localhost, giving you the client-server workflow without requiring another machine or cloud account.
Why does the lab use an RSA key with an empty passphrase?
The exercises specifically require a 2048-bit RSA key and an empty passphrase so automated login can be demonstrated in the isolated lab. On real systems, key algorithm, key size, passphrase, and agent policy should follow your organization's security requirements.
When would I use scp, rsync, or SFTP?
The course uses scp for direct file copies, rsync for directory synchronization, and SFTP for an interactive session where you browse both sides and choose files with put and get.





