Secure Shell (and copy)
- Ubuntu help for OpenSSH
- Useful implementations
The secure part
Try to connect to a computer at UNCA.
To enable ssh and sftp login without password, use the following commands. You can read the answer to this ubuntu answer for more information. You should also do this your Windows (ugh) computer following the instructions for PuTTYgen. By the way, many web services, such as Google Cloud Platform, mandate the use of password-less ssh-based login.
ssh-keygen ssh-copy-id www.cs.unca.edu
What is bash?
What are we going to do?
Do one of the following.
Start by taking a look at the on-line outline of the Introduction to UNIX Course from the Department of Computing at Imperial College. Pay attention to the following sections. If following the examples, do not attempt to access the /home directory.
- Lecture Two: The simple file and directory commands
- Sections 3.1 to 3.4 of
Three: The advanced Linux file and directory commands
- By the way, the DigitalOcean article on compression tools for Linux servers is a good source of information about state-of-art compression.
- Sections 4.1 to 4.4 of Lecture Four: The simpler Linux process control commands
Now do the following activities.
- Use ssh to connect to one of the workstations in RRO223 (probably the one you are using) with your CSCI Linux account.
- Do item 2 of Exercise Sheet One.
- Do all items of Exercise Sheet Two.
- Do items 5 to 7 and 16 of Exercise Sheet Three. Do not try the items that access the /home directory. It is huge on our systems.
- Type the command history > work.done and upload the file work.done to the Bash lab moodle dropoff.
If you took the System Administration course last year, you can help other students complete this lab.