Ssh from 1.20 to 1.21 not working

when i updated gitea to the latest version of 1.21 i got the

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

by switching back to 1.20

every thong works

by updating to 1.21 i had to update ini but exept of this nothing special

APP_NAME = Disconnected By Peer Projects
RUN_USER = git
RUN_MODE = prod
WORK_PATH = /var/lib/gitea

[oauth2]
JWT_SECRET = <redacted>

[security]
INTERNAL_TOKEN = <redacted>
INSTALL_LOCK = true
SECRET_KEY = <redacted>
PASSWORD_HASH_ALGO = pbkdf2

[database]
DB_TYPE = mysql
HOST = 172.16.11.229:3306
NAME = gitea
USER = gitea
PASSWD = <redacted>
SCHEMA = 
SSL_MODE = disable
CHARSET = utf8
PATH = /var/lib/gitea/data/gitea.db
LOG_SQL = false

[repository]
ROOT = /var/lib/gitea/data/gitea-repositories

[server]
SSH_ROOT_PATH    = /home/git/ssh-shadow
SSH_DOMAIN = gitea.disconnected-by-peer.at
DOMAIN = gitea.disconnected-by-peer.at
HTTP_PORT = 443
HTTP_ADDR = <redacted>
ROOT_URL = https://gitea.disconnected-by-peer.at/
START_SSH_SERVER = false
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
LFS_JWT_SECRET = <redacted>
OFFLINE_MODE = false
PROTOCOL = https
CERT_FILE = /etc/gitea/ssl/gitea.disconnected-by-peer.at.chain
KEY_FILE = /etc/gitea/ssl/gitea.disconnected-by-peer.at.key

[lfs]
PATH = /var/lib/gitea/data/lfs

[mailer]
ENABLED = true
FROM = no-reply@disconnected-by-peer.at
PROTOCOL = sendmail
SENDMAIL_PATH = sendmail

[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = false
NO_REPLY_ADDRESS = noreply@disconnected-by-peer.at

[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = true

[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = true

[session]
PROVIDER = file

# [log]
# MODE      = console
# LEVEL     = info
# ROOT_PATH = /var/lib/gitea/log
# ROUTER    = console
[log]
MODE = file
LEVEL = info
ROOT_PATH = /var/lib/gitea/log
logger.router.MODE = file

# # hide footer details
[other]
SHOW_FOOTER_BRANDING = false
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false

hase someone a idea what it could be ?

Have you changed the gitea directory when upgrading?

no i have not changed anything. just replaced the bin file and restarted the serivce.