I am following a guide to setup wordpress, one of the steps instructs to copy the values of https://api.wordpress.org/secret-key/1.1/salt/
to a section in wp-config.php
. I can connect via PuTTY only remotely to this server and I am using the nano editor. The question is how to do this without typing each individual character into the wp-config.
On an MS-DOS Windows console you can mark the text and then copy it. PuTTY has the option to copy everything to clipboard, but Ctrl+U (paste) does not work, saying “cut buffer is empty”.
curl -s https://api.wordpress.org/secret-key/1.1/salt >> wp-config.php
and then edit it to move around the salt as needed