diff --git a/deploy/forget-server-fingerprint.sh b/deploy/forget-server-fingerprint.sh deleted file mode 100755 index c1e000c38318db0528f7eb22fda96c3629abdaf3..0000000000000000000000000000000000000000 --- a/deploy/forget-server-fingerprint.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -ssh-keygen -R $1 diff --git a/doc/deploying-a-server.md b/doc/deploying-a-server.md index bc54bfc94e06615c406ea57b6865fb846a442f35..7c0bf10b086a2ca36bf2826dba37cba67f713560 100644 --- a/doc/deploying-a-server.md +++ b/doc/deploying-a-server.md @@ -10,7 +10,7 @@ Make sure you read [getting started](getting-started-as-a-hoster.md) first. you will be ssh-ing and scp-ing as (the default remote user of our deploy scripts is 'core'). * Give the new server a name (in this example, we call the server 'k3') * Add k3 to your /etc/hosts with the right IP address -* If you have used this name before, run `./deploy/forget-server-fingerprint.sh k3` +* If you have used this name before, run `ssh-keygen -R k3` * Ssh into your server, and run `ssh-keygen -t rsa` (use all the default settings, empty passphrase) * Set up a backups server at an independent location (at least a different data center, but preferably also a different IaaS provider, the bu25 plan of https://securedragon.net/ is a good option at 3 dollars per month). * Set up a git server by following http://www.git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server (no need to set up any repos like 'project.git' yet). Let's call the backup server 'bu25' (add this to /etc/hosts on k3).