[HamWAN PSDR] Duplicating account

Bart Kus me at bartk.us
Sun Nov 3 09:55:21 PST 2019


Most of the settings are not bound to your account, they're bound to the 
modem itself.  Creating a new account should be as simple as:

/user add group=full name=<NAME> password=<PASSWORD>

If you want to add SSH key-authentication to the account, you'll need to 
put the key file on the modem first, via

/tool fetch url="https://some.website/your.key"

or use scp <https://winscp.net/eng/download.php> to copy it, or use 
winbox to drag and drop the file into the modem's "File" section.

Once the file is there, you associate it with your account like so:

/user ssh-keys import user=<NAME> public-key-file=<KEY_FILENAME>

When your account has a key authentication method like this, password 
authentication for SSH is disabled.  However, you can override that and 
preserve password auth by setting:

/ip ssh set always-allow-password-login=yes

Once your new account is verified to work, you can erase the admin account:

/user remove admin

--Bart


On 11/2/2019 9:08 PM, Ric Merry wrote:
> Is there a simple way to duplicate my account/credentials with current 
> settings but a different user name.
> I don't want to start over at step 1.
> Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.hamwan.net/pipermail/psdr/attachments/20191103/55f83dc3/attachment.html>


More information about the PSDR mailing list