added CNAME file and article about dropbear

This commit is contained in:
Marvin Steadfast 2014-01-28 22:43:40 +01:00
parent bb94f0bb40
commit 3664823279
3 changed files with 11 additions and 2 deletions

1
content/extra/CNAME Normal file
View File

@ -0,0 +1 @@
code.xsteadfastx.org

View File

@ -0,0 +1,6 @@
Title: Zugriff retten mit Dropbear
Slug: zugriff-retten-mit-dropbear
Date: 2014-01-28 22:41
Was macht man eigentlich wenn man den SSHD auf einem Root-Server konfigurieren möchte, man aber doch ein wenig Angst hat das es das letzte mal ist den Server von innen zu sehen? Ich hatte mal auf Twitter rumgefragt und kam eigentlich zu einer brauchbaren Lösung. Als erstes ist es wohl so, dass die SSH-Session erhalten bleibt solange ich den Dienst nur "reloade". Das war mir dann aber doch ein wenig zu gefährlich. Der andere Plan: [Dropbear](https://de.wikipedia.org/wiki/Dropbear) installieren und auf einem alternativen Port laufen lassen. Dropbear ist ein schlanker kleiner SSH-Server. Schnell installiert, den Port angepasst und gestartet. Ich glaube ich kann jetzt doch ein wenig ruhiger schlafen.

View File

@ -25,13 +25,15 @@ CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
# path-specific metadata
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
#'extra/robots.txt': {'path': 'robots.txt'},
'extra/CNAME': {'path': 'CNAME'},
}
# static paths will be copied without parsing their contents
STATIC_PATHS = [
'pictures',
'extra/robots.txt',
#'extra/robots.txt',
'extra/CNAME',
]
# custom page generated with a jinja2 template