#1082492 qterm don't support OpenSSH-specific format private keys when use ssh login

Package:
qterm
Source:
qterm
Description:
BBS client for X Window System written in Qt
Submitter:
xiao sheng wen
Date:
2024-09-21 06:33:01 UTC
Severity:
normal
Tags:
#1082492#5
Date:
2024-09-21 03:59:02 UTC
From:
To:
Hi,
   We normal use ssh-keygen generate private key for ssh login.
The ssh-keygen will by default write keys in an OpenSSH-specific format now.

The first line of OpenSSH-specific format private key file is:
-----BEGIN OPENSSH PRIVATE KEY-----

But qterm don't support OpenSSH-specific format private keys for login,
qterm only support the previously-used PEM format private keys.

Although we can get PEM format private keys using the following way:

From man ssh-keygen:

     It is still possible for ssh-keygen to write the previously-used PEM format private keys us‐
     ing the -m flag.  This may be used when generating new keys, and existing new-format keys
     may be converted using this option in conjunction with the -p (change passphrase) flag.

But PEM format is old and no default format now,
so I hope qterm can support OpenSSH-specific format private keys.

Thanks!

#1082492#10
Date:
2024-09-21 04:58:05 UTC
From:
To:
We can use file command to get key files type:

The example is:

id_rsa:     OpenSSH private key
id_rsa1:    PEM RSA private key