Skip to content

Commit

Permalink
Add the "-O" flag to scp commands to force scp instead of sftp
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nathandyer committed Sep 12, 2024
1 parent ef4e005 commit 4e540e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/admin/deployment/offboarding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4e540e4

Please sign in to comment.