Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Todor Kondic
courses
Commits
d208c4ed
Unverified
Commit
d208c4ed
authored
Mar 25, 2020
by
Todor Kondic
Browse files
Minimal working presentation (login)
parent
16377360
Pipeline
#23312
passed with stage
in 2 minutes and 17 seconds
Changes
13
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
2020/2020-02-15_gnuLinuxCourse/resources.md
View file @
d208c4ed
...
...
@@ -7,10 +7,10 @@
A text with misleading title, it is neither only meant for _Advanced_
users as it assumes no previous exposure to the Unix shell, nor covers
only _Bash_, taking instead an integrative approach which reflects a
natural interaction with a GNU
\
L
inux system on a day-to-day basis. It
natural interaction with a GNU
/
Linux system on a day-to-day basis. It
can also serve as a reference. While outdated in the sense that that
last revision is from 2014, it still covers the vast majority of
interactions one has with a GNU
\
L
inux system through the shell.
interactions one has with a GNU
/
Linux system through the shell.
*
[
Software Carpentry Courses
](
https://v4.software-carpentry.org/shell/index.html
)
...
...
2020/2020-02-15_gnuLinuxCourse/slides/ex_ssh_lin/intro.md
0 → 100644
View file @
d208c4ed
# Creating a SSH session from a Linux Terminal
*
Windows users can skip this ...
2020/2020-02-15_gnuLinuxCourse/slides/ex_ssh_lin/session_shell.md
0 → 100644
View file @
d208c4ed
# SSH Session From a Terminal
```
shell
# Connect to a host, on a particular port with a particular address
# with a given username.
# If password-based authentication is enabled, you will be presented
# with a password prompt.
ssh
-p
8022 tk2020@10.240.16.69
# A much more secure approach (sometimes the only option, if other
# forms of authentication are disabled on the server) is use key based
# authentication.
```
2020/2020-02-15_gnuLinuxCourse/slides/ex_ssh_lin/session_shell_2.md
0 → 100644
View file @
d208c4ed
# SSH Session From a Terminal: Key Based Authentication
```
shell
# First, generate the key if you do not have it (if you do, it will be
# present in ~/.ssh directory). You will be presented by a series of
# dialogues for which defaults are ok. Please choose a strong
# passphrase when prompted.
ssh-keygen
-b
4096
# Next, add the key to your ssh-agent. This prevents you from having
# to type the passphrase each time you want to log in. Accept the
# default suggestion.
ssh-add
# No ssh agent present? Then run
#
# ssh-agent > agent.env.out
# source agent.env.out
#
# Try to connect again.
ssh
-p
8022 tk2020@10.240.16.69
```
2020/2020-02-15_gnuLinuxCourse/slides/ex_ssh_win/prerequisites.md
View file @
d208c4ed
# Prerequisites
*
Download and install
[
MobaXterm
][
1
]
*
Connect to the UL VPN
[
1
]:
https://mobaxterm.mobatek.net/download-home-edition.html
2020/2020-02-15_gnuLinuxCourse/slides/ex_ssh_win/ssh_tunel_setup.md
0 → 100644
View file @
d208c4ed
# SSH Tunnel Setup
<div
class=
"multicol"
>
<div
class=
"col"
data-markdown
>
*
A tunnel will relay information from a port on your computer to
another port on a remote computer
</div>
</div>
2020/2020-02-15_gnuLinuxCourse/slides/ex_ssh_win/ssh_tunnel_start.md
0 → 100644
View file @
d208c4ed
# Create a SSH Tunnel
![][
tunnelcirc
]
[
tunnelcirc
]:
variae/figs/mxt_shots/mobaxterm_tunnel_circ.png
"Tunnel Menu"
2020/2020-02-15_gnuLinuxCourse/slides/ex_ssh_win/ssh_window.md
View file @
d208c4ed
...
...
@@ -10,12 +10,15 @@
3.
Server-side SSH port
4.
If key-based authentication, provide your private key here
<!-- .element: class="fragment" -->
<!-- .element: class="fragment"
data-fragment-index=1
-->
1.
`linuxcourse-test.lcsb.uni.lu`
, or 10.240.16.69
2.
Your username
3.
8022 (if we managed to change that :) )
4.
Nothing yet
<!-- .element: class="fragment" data-fragment-index=2 -->
</div>
<div
class=
"col"
data-markdown
>
...
...
@@ -29,3 +32,4 @@
[
sshwindow
]:
variae/figs/mxt_shots/mobaxterm_ssh_interactive.png
"MobaXterm SSH setup"
2020/2020-02-15_gnuLinuxCourse/slides/img/belgrade_fortress_1521.jpg
0 → 100644
View file @
d208c4ed
289 KB
2020/2020-02-15_gnuLinuxCourse/slides/intro_aim.md
View file @
d208c4ed
...
...
@@ -5,11 +5,10 @@
<!-- .element: class="fragment" -->
+
For Windows users
-
[
MobaXterm
][
1
]
, big, bloated, and freeware (which means that
sooner, or later they'll ask for your money), but does many other
useful things besides SSH (and is _recommended by R3_)
-
[
MobaXterm
][
1
]
(_recommended by R3_)
-
[
PuTTY
][
2
]
, simple, ugly, but efficient and open source and does only SSH
<!-- .element: class="fragment" -->
+
For Mac and GNU/Linux users, OpenSSH command line client
...
...
2020/2020-02-15_gnuLinuxCourse/slides/intro_first.md
View file @
d208c4ed
...
...
@@ -10,7 +10,7 @@
+
Researcher on the
[
Environmental Cheminformatics
][
4
]
team
<!-- .element: class="fragment" -->
+
GNU
\
L
inux user since
[
Debian Woody
][
5
]
(ca 2002)
+
GNU
/
Linux user since
[
Debian Woody
][
5
]
(ca 2002)
+
Arrived as a seven CD set from a small computer shop from the
[
Getting Debian
][
6
]
<!-- .element: class="fragment" -->
...
...
2020/2020-02-15_gnuLinuxCourse/slides/list.json
View file @
d208c4ed
...
...
@@ -11,6 +11,10 @@
{
"filename"
:
"ex_ssh_win/session_start_screen.md"
},
{
"filename"
:
"ex_ssh_win/session_ssh.md"
},
{
"filename"
:
"ex_ssh_win/ssh_window.md"
},
{
"filename"
:
"ex_ssh_win/ssh_window_filled.md"
},
{
"filename"
:
"ex_ssh_win/ssh_shell.md"
},
{
"filename"
:
"ex_ssh_win/ssh_keygen.md"
}
{
"filename"
:
"ex_ssh_win/ssh_keygen.md"
},
{
"filename"
:
"ex_ssh_lin/intro.md"
},
{
"filename"
:
"ex_ssh_lin/session_shell.md"
},
{
"filename"
:
"ex_ssh_lin/session_shell_2.md"
}
]
2020/2020-02-15_gnuLinuxCourse/slides/ssh_outline.md
0 → 100644
View file @
d208c4ed
# SSH Exercise Outline
*
Create an interactive SSH session
<!-- .element: class="fragment" -->
*
Generate SSH key
<!-- .element: class="fragment" -->
*
Use SSH key to log into the system
<!-- .element: class="fragment" -->
*
Create a SSH tunnel
<!-- .element: class="fragment" -->
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment