Skip to content

Downloads, compiles and uploads website to a different GIT for hosting.

Notifications You must be signed in to change notification settings

cadamswaite/RPI-Jekyll-Compiler2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RPI-Jekyll-Compiler

Downloads, compiles and uploads website to a different GIT for hosting.

It is important the RPi is not accessible from the internet when setting up ssh!

Usually this would be blocked by your router firewall. If not, the RPI could be hacked within minutes of connecting! To avoid this, at least change the default password of the pi using:

passwd

Additional steps would be to change the username as well, change the port of ssh etc.This is mainly important during setup. Once public key auth is setup (along with ufw rate limits and fail2ban to block repeat offenders) the pi shouldTM be secure.

Prerequisites

On Windows, need putty, puttygen and pageant to manage certificates. All can be found here.

Steps

  1. Burn latest rasbian buster light onto SD card.
  2. Download and run the install script using
wget https://raw.githubusercontent.com/cadamswaite/RPI-Jekyll-Compiler/master/install.sh
sudo bash install.sh
  1. When terminal outputs "SSH key generated. Please copy id_rsa to PC now" run in the command terminal (CMD) ''' scp pi@:~/.ssh/id_rsa C:\Users<UserName>\Desktop
    '''
  2. Import the key into PuttyGen
  3. Export the private key as a .ppk
  4. Open the .ppk with pageant
  5. Initiate a putty connection to the pi. This should not require a password.
  6. Press enter in the Pi terminal. This disables password entry, allowing for public key auth only.
  7. At this point, the Pi should be protected from most attacks.

About

Downloads, compiles and uploads website to a different GIT for hosting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published