Use excerpt blocks for all posts

This commit is contained in:
Oliver Davies 2018-03-01 07:27:33 +00:00
parent a813a83317
commit 6ad54f56d7
32 changed files with 130 additions and 16 deletions

View file

@ -6,8 +6,11 @@ tags:
- ssh
use: [posts]
---
{% block excerpt %}
If you're accessing Linux servers or automating tasks between servers, rather than having to enter your user password every time, you can also use SSH public key authentication. This is a simple process that involves creating a local key and storing it within the *authorized_keys* file on the remote server.
{% endblock %}
{% block content %}
1. Check if you already have a SSH key.
`$ ssh-add -L`
2. If you don't have one, create one.
@ -26,3 +29,4 @@ If successful, you should now see a message like:
> to make sure we haven't added extra keys that you weren't expecting.
Now the next time that you SSH onto the server, it should log you in without prompting you for your password.
{% endblock %}