File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ << Password
2
+ 1. configure password authentication
3
+ sudo vi /etc/ssh/sshd_config
4
+ PaswordAuthentication yes # change from no to yes
5
+ sudo systemctl restart sshd && sudo passwd ec2-user
6
+
7
+ 2. ssh ec2-ser@publicIP
8
+
9
+ Password
10
+
11
+ #! /bin/bash
12
+ << sp
13
+ Title : Learning comment
14
+ description :
15
+ author :myLANDMARK.tech S Legah
16
+ date :08112012
17
+ version :1.0
18
+ Tel :437 215 2483
19
+ pwd
20
+ sp
21
+ << comment
22
+ This script is for beginners.
23
+ Learn how to write simple script
24
+ Linux is very easy to understand.
25
+ This script was written by LandmarkTechnology
26
+ comment
27
+ echo " example about using multi-line comment"
28
+ # echo "This line is commented""
29
+ # echo "This line is commented"
30
+ echo " This is in Multi line comment section"
31
+ echo " This line aslo in Multi line comment section, it will be ignore"
32
+ COMMENT
33
+ echo " This is after Multiline comments section"
You can’t perform that action at this time.
0 commit comments