Package: openssh-client
Version: 1:7.1p2-1
When you generate an Ed25519 key, the comment is embedded in the private
key, but there doesn't seem to be a way to change this comment:
$ ssh-keygen -t ed25519 -N '' -C foobar -f tmp
Generating public/private ed25519 key pair.
Your identification has been saved in tmp.
Your public key has been saved in tmp.pub.
The key fingerprint is:
SHA256:...
The key's randomart image is:
...
$ grep -v ^-- tmp | base64 -d | strings | grep foo
foobar
$ ssh-keygen -c -C moobar -f tmp
Comments are only supported for RSA1 keys.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages openssh-client depends on:
ii adduser 3.113+nmu3
ii dpkg 1.18.4
ii libc6 2.22-0experimental1
ii libedit2 3.1-20150325-1+b1
ii libgssapi-krb5-2 1.13.2+dfsg-4
ii libselinux1 2.4-3
ii libssl1.0.2 1.0.2e-1
ii passwd 1:4.2-3.1
ii zlib1g 1:1.2.8.dfsg-2+b1
--
Jakub Wilk