Introduction
A configuration file is ready locally and must be delivered unchanged to an existing remote account. A working private key is already supplied.
The preceding guided lab practiced selecting an SSH identity and transferring a file with scp. This challenge focuses on that one delivery.
Deliver the Configuration File
Current Situation
The local workspace /home/labex/project/remote-admin contains:
service.conf, the file to deliver;id_ed25519, the private key foropsuser@localhost.
The remote directory /home/opsuser/incoming already exists.
Scope
- Use the supplied identity file.
- Upload
service.confto/home/opsuser/incoming/service.conf. - Keep the local source file unchanged.
- Do not change SSH server settings or account credentials.
Your Goal
Leave an unchanged copy of service.conf in the remote incoming directory.
Acceptance Criteria
/home/opsuser/incoming/service.confexists and is owned byopsuser.- Its content is byte-for-byte identical to the local
service.conf. - The local source and supplied identity remain available.
Hints
How do I select the supplied key?
The guided lab used the -i option with both ssh and scp. In an upload, the local source comes before the remote destination.
Summary
You used one supplied SSH identity to deliver one unchanged configuration file with SCP.



