Jump to content

FeministWiki:Server setup: Difference between revisions

Line 26: Line 26:


Before restarting the SSH service, make sure you've actually added your public key (the contents of {{C|~/.ssh/id_rsa.pub}} on your computer) to {{C|/root/.ssh/authorized_keys}} on the server, or you'll lock yourself out.
Before restarting the SSH service, make sure you've actually added your public key (the contents of {{C|~/.ssh/id_rsa.pub}} on your computer) to {{C|/root/.ssh/authorized_keys}} on the server, or you'll lock yourself out.
=== Copy SSH key from old server ===
Copy over {{C|~/.ssh/id_rsa}} and {{C|~/.ssh/id_rsa.pub}} from the old server onto the new one.  Make sure to set the permissions for the private key correctly: {{C|chmod 600 ~/.ssh/id_rsa}}


=== Set up firewall ===
=== Set up firewall ===