- Done the CMD ChALLENGE
- Taken screenshots as proof.
- Used sftp to to move the screenshots to server based virtual machine.
- First, I opened a
SFTPsocket connection with the remote server via the command:
$ sftp <user>@<hostname>-
Then, I input the password as requested by the interactive
SFTPshell. -
I followed this step by switching to the desired remote directory:
sftp> cd desired_directory- Then I switched my local directory to the appropriate one:
sftp> lcd appropriate_dir- Next, I transfered the directory containing the screen shots to the server:
sftp> put -r screen_shot_dir- Finally, I checked for the success by listing the contents of the remote working directory.
sftp> ls- This confirmed my success and so I exited the
SFTPinteractive shell:
sftp> exit