Support is provided at the best effort of the sysadmins, who have other things to do as well. It's common to have to wait for a few days to receive an answer to your question. Please be patient. You can also help us speed things up by checking if your issue is covered here and prepare accordingly.

Can I change my username?

First-class support for changing your account name is not currently implemented, though it is planned. For now, the following workaround is possible:

  • Create a new (free) account with your desired username
  • Transfer any data you'd like to keep using e.g. hut's import/export commands (see below)
  • If you have a paid account, send an email to sr.ht-support, stating your old and new usernames; we'll seamlessly transfer the billing over to the new account
  • If so desired, delete the old account

The recommended hut procedure is as follows:

# If hut is not already configured for your old account, log in:
$ hut init
# Export your old account data to the "account-data" directory locally:
$ hut export ./account-data
# Remove your old account's hut configuration and log in to the new account:
$ rm ~/.config/hut/config
$ hut init
# Import your data into your new account:
$ hut import ./account-data

I lost my 2FA credentials

The ideal solution is to enter one of the recovery codes which were provided when you enabled 2FA. If you have lost these, or you enabled 2FA prior to the introduction of recovery codes, you may reach out to sr.ht-support for help. We will need to verify your identity before we can disable 2FA -- consider the following tips to smooth this process along.

  • Make sure to write from the email address associated with your account
  • If you have a PGP key associated with your account, sign your email with that key (see https://meta.sr.ht/~<username>.pgp)
  • If you don't have a PGP key, but you do have an SSH key associated with your account (see https://meta.sr.ht/~<username>.keys), you can do the following:
    • Create a plain text file message.txt, stating the date, your username and that you would like 2FA disabled for your account
    • Sign the file with ssh-keygen -Y sign -n file -f ~/.ssh/<key> message.txt
    • Send us both message.txt and the resulting message.txt.sig

You can use this template for message.txt:

On <insert date>, I, the owner of the <insert username> account on
SourceHut, am asserting that I require my 2FA configuration to be reset
in order to access my account.

About this wiki

commit a94f0e21e24af1b65f6601a999dd5372e0b1ae4b
Author: Conrad Hoffmann <ch@bitfehler.net>
Date:   2026-10-21T13:46:14+02:00

tutorials/git: update section about repo creation

The flow has slightly changed since this was originally written.
Clone this wiki ("master" branch)
https://git.sr.ht/~sircmpwn/sr.ht-docs (read-only)
git@git.sr.ht:~sircmpwn/sr.ht-docs (read/write)