website-build/README: fix ssh configuration for deployment

The previous configuration was more complicated and required two steps each
time one tried to deploy the website. The new configuration makes use of
the ProxyJump feature to allow deploying in only one step.

Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
GNUtoo: fixed line over 80 characters.
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Adrien Bourmault 2023-11-29 17:48:45 +01:00 committed by Denis 'GNUtoo' Carikli
parent 1c4afd39ca
commit e4d60c72d3
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 11 additions and 19 deletions

View File

@ -25,18 +25,17 @@ A way to do that is to get a shell account on fencepost.gnu.org, and
use SSH to forward the connection to gnu.org. This can be done with use SSH to forward the connection to gnu.org. This can be done with
something like that in your SSH configuration: something like that in your SSH configuration:
Host gnu.org
User wwwcvs
Port 2224
HostName 127.0.0.1
Host fencepost.gnu.org Host fencepost.gnu.org
LocalForward 127.0.0.1:2224 gnu.org:22 User USERNAME
User gnutoo
In the example above you will need to adjust the fencepost username, Host gnu.org
User wwwcvs
ProxyJump fencepost.gnu.org
In the example above you will need to adjust the fencepost USERNAME,
and modify it to suit your SSH setup if needed (for instance if you and modify it to suit your SSH setup if needed (for instance if you
use keys in different locations, or if the port 2224 is already taken, use keys in different locations, etc). Of course, you'll have to get
etc). access to gnu.org ssh server too.
See https://www.gnu.org/software/README.accounts.html for more details See https://www.gnu.org/software/README.accounts.html for more details
about Fencepost accounts, the SSH fingerprints, etc. about Fencepost accounts, the SSH fingerprints, etc.
@ -44,13 +43,7 @@ about Fencepost accounts, the SSH fingerprints, etc.
For gnu.org, it's easier if you use an ED25519 key for gnu.org as I For gnu.org, it's easier if you use an ED25519 key for gnu.org as I
have the fingerprints below. See [1] for other options. have the fingerprints below. See [1] for other options.
Once everything is setup you can then SSH into fencepost: To check that everything is setup you can then SSH into gnu.org:
$ ssh fencepost.gnu.org
[...]
gnutoo@fencepost:~$
Once this is done you can then open a new shell and add the SSH
fingerprint. Here's the ED25519 SSH fingerprints:
$ ssh gnu.org $ ssh gnu.org
The authenticity of host '[127.0.0.1]:2224 ([127.0.0.1]:2224)' can't be established. The authenticity of host '[127.0.0.1]:2224 ([127.0.0.1]:2224)' can't be established.
ED25519 key fingerprint is SHA256:pmCf0NrBzSSYfg6DdgmlMzPWZzGpXXcPEz6LP1+o5Jc. ED25519 key fingerprint is SHA256:pmCf0NrBzSSYfg6DdgmlMzPWZzGpXXcPEz6LP1+o5Jc.
@ -67,9 +60,8 @@ point. You can exit it with the Ctrl+D or Ctrl+C key combinations.
At this point everything is setup. At this point everything is setup.
To deploy the website you then need to make sure that you still have To deploy the website, use the following commands from the website-build
an SSH connection to fencepost.gnu.org and you can then deploy the directory:
website with the following commands:
$ ./autogen.sh $ ./autogen.sh
$ ./configure $ ./configure
$ make deploy $ make deploy