Generate a new set of cryptographic keys

"Old machine" is the machine that has the original set of cryptographic keys that were generated. "New machine" is the device you want the new set of cryptographic keys on.

Step 1) Generate a passcode from your Old machine

Choose the operating system that is running on your old machine.

~/.local/bin/at_activate otp -a @<REPLACE_client>

Step 2) Make an authorization request on your New machine

Choose the operating system that is running on your new machine.

~/.local/bin/at_activate enroll -a @<REPLACE_client> \
  -s <PASSCODE> \
  -p noports \
  -k ~/.atsign/keys/@<REPLACE_client>_key.atKeys \
  -d <client_device_name> \
  -n "sshnp:rw,sshrvd:rw"

Step 3) Approve the request on your Old machine

Choose the operating system that is running on your old machine.

~/.local/bin/at_activate approve -a @<REPLACE_client> \
  --arx noports \
  --drx <client_device_name>

Last updated