Secure Shell (SSH) - Security Tutorials
Secure Shell (SSH) - Security Tutorials
uk/secure-shell-ssh-101/
1 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
2 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
securityt…
Creating
an Active…
S… · Apr 2, 2021
First Three
Steps to
As this is the �rst time connecting to your SSH Secure a
server you will be prompted with a security alert Linux Server
3 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
First Three
Steps to …
4 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
5 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
ssh-keygen -t RSA
6 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
ssh-copy-id (username)@(host)
7 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
and check to make sure that only the key(s) you wanted we
It will then log you out, log back in and if you set a
password on your private key you will be prompted
to enter it now to unlock it.
8 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
Once the green bar has reached the end you will
be prompted with your key, I would advise you set
a strong security passphrase here otherwise if
your keys get compromised there will be no other
line of defense for someone to log straight into
your server.
9 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
nano -w .ssh/authorized_keys
-w Wordwrap
10 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
11 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
12 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
13 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
14 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
15 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
16 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
17 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
18 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
19 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
20 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
21 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
3 COMMENTS
Chris says:
28th August 2018 at 3:02 pm
Reply
hemp says:
28th August 2018 at 6:09
pm
https://community.home-
assistant.io/t/ssh-hassio/30775
22 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
Hemp
Reply
LEAVE A REPLY
Comment *
Name *
Email *
Website
23 of 24 11/17/2022, 11:51 AM
Secure Shell (SSH) - Security Tutorials https://securitytutorials.co.uk/secure-shell-ssh-101/
Post Comment
24 of 24 11/17/2022, 11:51 AM