@Gusted @forgejo we can allocate a PTY (it's more involved but forgejo could do this also)
But I think what's more likely is that we'll issue new recovery codes via SSH, then you'll have to log in with user/pw on the web to use them