Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I already use the command but nothing shows up Using scp In a week or so you will learn how to use git clone, git

image text in transcribedimage text in transcribed

I already use the command but nothing shows up

Using scp In a week or so you will learn how to use git clone, git pull, and git push to transfer data to and from the UVic servers and your SENG 265 machine. For this assignment, however, you will use scp (or "secure copy") to remotely transfer a file from the Unix filesystem hosted within UVic's Engineering Lab Wing B238. I have constructed a directory in my own UVic account in which are stored binary files with random data, one for each student netlink in the course. All students have permissions to read the files. For example, if there was a student named "Bonnie Henry" in the course with a Netlink ID of bonniehenry then her file in my account would be named: /home/zastre/seng265/assigno/b---y Notice that the last part of the filename path has the first letter of the Netlink ID, followed by three dashes, and ending with the last letter of the NetlinkID. You are to copy your file from the remote UVic server into your SENG 265 machine (i.e, you must form the filename using the first and last letters of your own Netlink ID, plus the needed dashes). So ensure the following steps are taken: On your host OS, start up a terminal window / command window Ensure your SENG 265 machine is up (i.e., use cd to change into the correct directory, use vagrant status, etc. etc.) Get into your machine via vagrant ssh In your home directory in the machine i.e., in /home/vagrant) use secure copy to transfer your file (see below). For example, if Bonnie Henry were to complete the last step, she would use the following command: scp bonniehenry@ugls20.ece.uvic.ca: /home/zastre/seng265/assign/b--- Notice that single period at the end of the command above. You must include this as it has an important meaning (which will be described during the Unix lectures). Also notice the structure of the main argument to scp: The Netlink ID and name of the remote machine form the first part, following by a colon (":") followed by the pathname of the file to be transferred from the remote machine. Ensure you change all of this to reflect your own Netlink ID. We don't want Dr. Henry to be accused of hacking UVic systems! Important: The scp program will ask you for your Netlink password. This is normal. The password is securely exchanged between your computer and ugls20.ece.uvic.ca. Page 2 of 4 Select vagrantubuntu-bionic [[user@]host1:]filel ... [[user@]host2:]file2 vagrant@ubuntu-bionic: $ scp shanjiang1@ugls20.ece.uvic.ca/homeorma/uvic/seng265/assigne/s---1 usage: scp (-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-1 limit] [-o ssh_option] [-p port] [-s program] [[user@]host1:]filel ... [[usend]host2:]file vagrant@ubuntu-bionic: $ ls -1 total @ drwxrwxrwx 1 vagrant vagrant @ Jan 21 22:45 host-mirror vagrant@ubuntu-bionic: $ ls-1 1s-1: command not found vagrant@ubuntu-bionic: $ ls -1 total @ drwxrwxrwx 1 vagrant vagrant @ Jan 21 22:45 host-mirror vagrant@ubuntu-bionic: $ scp usage: scp (-346BCparv] [-c cipher] [-F ssh_config] [-i identity_file] [-1 limit] [-o ssh_option] [-p port] [-s program] [[user@]hosti:]filei ... [[user@]host2:]file vagrant@ubuntu-bionic: $ cd norma -bash: cd: norma: No such file or directory vagrant@ubuntu-bionic: $ cd user -bash: cd: user: No such file or directory vagrant@ubuntu-bionic: $ cd User -bash: cd: User: No such file or directory vagrant@ubuntu-bionic:-$ Inaweekorsoyouwilllearnhowtousegit clone, git pull, andgit push to ili use scp (or secure copy) to remotely transfer a file from the Unix filesystem hosted within uvics Engineering Lab Wing B238. Inaweekorsoyouwilllearnhowtousegit: command not found vagrant@ubuntu-bionic: $ transferdatatoandfromtheUVicserversandyour SENG265machine. Forthis transferdatatoandfromtheuvicserversandyourSENG265machine. Forthis: command not found vagrant@ubuntu-bionic: $ assignment, however, youwillusesep (or securecopy) toremotely transfera file -bash: syntax error near unexpected token 'orsecurecopy. vagrant@ubuntu-bionic: $ from theUnixfilesystemhostedwithin UVics EngineeringLabWingB238. from: can't read /var/mail/theunixfilesystemhostedwithin vagrant@ubuntu-bionic: $ ls host-mirror vagrant@ubuntu-bionic:- $ scp shanjiang@ugls20.ece.uvic.ca/home/zastre/seng265/assigne/s---1 usage: scp (-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-1 limit] [-o ssh_option] [-P port] [-5 program] vagrant@ubuntu-bionic: $ scp shanjiang@ugls2e.ece.uvic.ca/home/zastre/ seng265/assign@/s---1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sybase Database Administrators Handbook

Authors: Brian Hitchcock

1st Edition

0133574776, 978-0133574777

More Books

Students also viewed these Databases questions

Question

a. How will the leader be selected?

Answered: 1 week ago