mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-20 13:50:45 +00:00
Lab instructions update
This commit is contained in:
@@ -44,7 +44,7 @@ Using SSH (secure shell), `scp` (secure copy) can transfer files securely (encry
|
||||
==Backup your /etc/ directory to the backup_server== computer using `scp`:
|
||||
|
||||
```bash
|
||||
sudo scp -pr /etc/ <%= $main_user %>@<%= $server_ip %>:/home/<%= $main_user %>/ssh_backup/
|
||||
sudo scp -pr /etc/ <%= $main_user %>@<%= $server_ip %>:/home/<%= $main_user %>/ssh_etc_backup
|
||||
```
|
||||
> You will be prompted for your local password, to confirm the hosts fingerprint ("yes"), and the remote password (which is the same).
|
||||
> This copy may take some time, feel free to open another terminal console (Ctrl-T), to read the scp man page while you wait.
|
||||
|
||||
@@ -23,7 +23,7 @@ sudo bash -c 'echo hello > /etc/hello'
|
||||
sudo rsync -av /etc /home/<%= $main_user %>/backups/rsync_backup/
|
||||
```
|
||||
|
||||
Note that only the new file was transferred (incremental) to update our epoch (full) backup of /etc/.
|
||||
Note that only the new file was transferred to update our epoch (full) backup of /etc/.
|
||||
|
||||
## Rsync remote copies via SSH with compression
|
||||
|
||||
|
||||
Reference in New Issue
Block a user