Skip to content

Commit

Permalink
Review chapter "SSH and SCP" (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludelafo authored Dec 2, 2024
1 parent d3a392a commit 4d47314
Show file tree
Hide file tree
Showing 9 changed files with 326 additions and 379 deletions.
660 changes: 303 additions & 357 deletions 20-ssh-and-scp/COURSE_MATERIAL.md

Large diffs are not rendered by default.

43 changes: 22 additions & 21 deletions 20-ssh-and-scp/PRESENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ author: L. Delafontaine and H. Louis, with the help of GitHub Copilot
title: HEIG-VD DAI Course - SSH and SCP
description: SSH and SCP for the DAI course at HEIG-VD, Switzerland
url: https://heig-vd-dai-course.github.io/heig-vd-dai-course/20-ssh-and-scp/
footer: '**HEIG-VD** - DAI Course 2023-2024 - CC BY-SA 4.0'
footer: '**HEIG-VD** - DAI Course 2024-2025 - CC BY-SA 4.0'
style: |
:root {
--color-background: #fff;
Expand Down Expand Up @@ -76,6 +76,8 @@ _paginate: false
## Objectives

- Refresh on security
- Acquire a virtual machine (= a server) on the cloud
- Install and configure the virtual machine/server
- Learn how to use the SSH protocol to connect to a remote server
- Learn how to use the SCP protocol to transfer files to a remote server

Expand All @@ -85,9 +87,8 @@ _paginate: false

<!-- _class: lead -->

More details for this section in the
[course material](https://github.com/heig-vd-dai-course/heig-vd-dai-course/blob/main/20-ssh-and-scp/COURSE_MATERIAL.md#a-quick-reminder-about-security).
You can find other resources and alternatives as well.
More details for this section in the [course material][course-material]. You can
find other resources and alternatives as well.

### A quick reminder about security

Expand All @@ -101,9 +102,8 @@ You can find other resources and alternatives as well.

<!-- _class: lead -->

More details for this section in the
[course material](https://github.com/heig-vd-dai-course/heig-vd-dai-course/blob/main/20-ssh-and-scp/COURSE_MATERIAL.md#ssh).
You can find other resources and alternatives as well.
More details for this section in the [course material][course-material]. You can
find other resources and alternatives as well.

### SSH

Expand Down Expand Up @@ -150,9 +150,8 @@ Ed25519 and ECDSA are the recommended algorithms.

<!-- _class: lead -->

More details for this section in the
[course material](https://github.com/heig-vd-dai-course/heig-vd-dai-course/blob/main/20-ssh-and-scp/COURSE_MATERIAL.md#scp).
You can find other resources and alternatives as well.
More details for this section in the [course material][course-material]. You can
find other resources and alternatives as well.

### SCP

Expand All @@ -163,16 +162,21 @@ You can find other resources and alternatives as well.

![bg right:40%](https://images.unsplash.com/photo-1616628188540-925618b98318?fit=crop&h=720)

## Questions

<!-- _class: lead -->

Do you have any questions?

## Practical content

<!-- _class: lead -->

### What will you do?

- Install and configure SSH and SCP
- Start a SSH server with Docker Compose
- Connect to the SSH server with SSH
- Transfer a file to the SSH server with SCP
- Acquire a virtual machine (= a server) on the cloud
- Install and configure the virtual machine (SSH, Docker and Docker Compose)
- Transfer files to/from the virtual machine with SCP

![bg right contain](./images/what-will-you-do.png)

Expand All @@ -183,7 +187,7 @@ You can find other resources and alternatives as well.
You can find the practical content for this chapter on
[GitHub][course-material].

[![bg right w:75%][course-material-qr-code]][course-material]
![bg right w:75%][course-material-qr-code]

## Finished? Was it easy? Was it hard?

Expand All @@ -201,13 +205,10 @@ You can use reactions to express your opinion on a comment!

In the next chapter, you will learn the following topics:

- Java TCP programming
- How to send an email with Java
- How to create a TCP server
- How to create a TCP client
- How to handle multiple clients with concurrency
- Learn how to use HTTP, a high-level protocol for the web
- Create your own simple web API with CRUD operations with Java

![bg right:40%](https://images.unsplash.com/photo-1554960750-9468c5d9e239?fit=crop&h=720)
![bg right:40%](https://images.unsplash.com/photo-1446770145316-10a05382c470?fit=crop&h=720)

## Sources

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The entire course planning for the semester is available at
### Part 3 - Network programming with HTTP (20 periods)

- [19. Introduction to part 3](./19-introduction-to-part-3/README.md)
- [20. SSH and SCP (2 periods)](./20-ssh-and-scp/README.md) (WIP)
- [20. SSH and SCP (2 periods)](./20-ssh-and-scp/README.md)
- [21. HTTP and curl (2 periods)](./21-http-and-curl/README.md)
- [22. Web infrastructures (2 periods)](./22-web-infrastructures/README.md)
(WIP)
Expand Down

0 comments on commit 4d47314

Please sign in to comment.