[Passphrase] Show ssh public key throw a CommandException

Hello,

When I trying to show a public key of ssh-key in passphrase,
I got an error:

Command failed with error #255!
COMMAND
ssh-keygen -y -f '********'

STDOUT
(empty)

STDERR
Load key "/tmp/3ba0cxmgo0000kos/passphrase-ssh-key": invalid format

And git repo sync of Diffusion is also abnormal.

But in my shell, the command ssh-keygen -y -f id_rsa is work fine.

I have tried using Passphrase generated ssh key, but this error also occurs.

Operating system: Debian 10.
Php: 7.3 (installed by apt)

Phd running on user phd, which home dir is /tmp, and is nologin system user.
Phd launched by systemd, service file:

[Unit]
Description=Phabricator Daemon
After=network.target mysql.target
Before=nginx.target php7.3-fpm.target

[Service]
Type=forking
Environment="PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin"
ExecStart=/usr/share/nginx/html/phabricator/bin/phd start
ExecStop=/usr/share/nginx/html/phabricator/bin/phd stop
ExecReload=/usr/share/nginx/html/phabricator/bin/phd reload
User=phd
Group=phd

[Install]
WantedBy=multi-user.target

How can I fix this problem?
I would be grateful if anyone can give me some suggestions.

This problem has been solved, there must be a blank line at the end of ssh private key.