From 4e540e46dad181f0a7d1de99f424e4d665b96325 Mon Sep 17 00:00:00 2001 From: Nathan Dyer Date: Thu, 12 Sep 2024 16:25:43 -0400 Subject: [PATCH] Add the "-O" flag to scp commands to force scp instead of sftp This commit simply adds the "-O" flag to the scp commands used in the offboarding guide, which is now required so that it uses scp instead of trying sftp (which will result in an error). Fixes #592 --- docs/admin/deployment/offboarding.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/admin/deployment/offboarding.rst b/docs/admin/deployment/offboarding.rst index 37123c3f5..48ad082ad 100644 --- a/docs/admin/deployment/offboarding.rst +++ b/docs/admin/deployment/offboarding.rst @@ -84,13 +84,13 @@ SSH key, you should rotate the key in the following manner. .. code:: sh - scp /home/amnesia/.ssh/newkey.pub scp://app + scp -O /home/amnesia/.ssh/newkey.pub scp://app and .. code:: sh - scp /home/amnesia/.ssh/newkey.pub scp://mon + scp -O /home/amnesia/.ssh/newkey.pub scp://mon #. Add this key to the list of authorized keys.