Skip to content

Commit 2f1c7a4

Browse files
committed
lecture-notes/lecture-09-cron_pam_ssh.txt: Merged the separate ssh lecture notes into this file
Signed-off-by: Marian Marinov <[email protected]>
1 parent fd4c3f0 commit 2f1c7a4

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

lecture-notes/lecture-09-cron_pam_ssh.txt

+32-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,36 @@ telnet -----------------> server
1919

2020
ssh ---------------------> server
2121

22-
ssh filter cmd
22+
* sshd - what is it?
23+
* sshd - installation
24+
- apt-get install/yum install
25+
RedHat based: openssh-server openssh-clients
26+
Debian based: openssh-server openssh-client openssh-sftp-server
27+
* sshd - configuration
28+
- Logging
29+
- Crypto
30+
- User
31+
- Forwarding
32+
- Per-user configuration
33+
- Per-host configuration
34+
- Chrooting :)
35+
* ssh - configuration
36+
- authorized_keys
37+
- per host configuration
38+
- x application forwarding
39+
xhost/xauth handling
40+
* ssh - key generation
41+
* ssh - cmdline parameters
42+
* command execution using the ssh client:
43+
- simple execution
44+
ssh SERVER "command"
45+
ssh SERVER < local_script.sh
46+
cat local_script.sh | ssh SERVER
47+
- piping data
48+
cat big_local_file | ssh SERVER 'gzip - > remote_archive.gz'
49+
gzip -c big_local_file | ssh SERVER 'cat > remote_archive.gz'
50+
ssh SERVER 'cat big_remote.gz'|gzip -d - > extracted_file
51+
* scp - cmdline parameters
52+
* sftp
53+
* rsync
2354

0 commit comments

Comments
 (0)