arXiv:2608.24447cs.CRAug 2026

Manuscript Offprint

arXiv:2608.24447

A Drop-in KEM Replacement for Client Signatures in Post-Quantum SSH

Hongbo Liu, Yufan Su, Jiangxia Ge, Qionglu Zhang, Zhaoxuan Li, Xianhui Lu, Li Song, Wenhua Gao, Li Zhou

Hongbo Liu ∗^{*} †^{\dagger}, Yufan Su ‡^{\ddagger}, Jiangxia Ge §^{\S}, Qionglu Zhang ∗^{*} †^{\dagger}, Zhaoxuan Li ∗^{*} †^{\dagger}, Xianhui Lu ∗^{*} †^{\dagger}, Li Song ∗^{*} †^{\dagger}, Wenhua Gao ^{\P}, Li Zhou ∥^{\parallel}

  • State Key Laboratory of Cyberspace Security Defense, Institute of Information Engineering, CAS, Beijing, China

† School of Cyber Security, University of Chinese Academy of Sciences, Beijing, China

‡ School of Control and Computer Engineering, North China Electric Power University, Beijing, China

§ China Telecom Quantum Information Technology Group Co., Ltd., Hefei, China

¶ Beijing Certificate Authority Co., Ltd. (BJCA), Beijing, China

‖ Institute of Software, Chinese Academy of Sciences, Beijing, China

Corresponding authors: Qionglu Zhang and Zhaoxuan Li ( {zhangqionglu,lizhaoxuan} @iie.ac.cn)

Abstract—The transition to post-quantum cryptography is reshaping the Secure Shell (SSH) protocol for remote administration. Post-quantum key exchange has been deployed in OpenSSH and is being standardized, while SSH authentication largely remains a signature-replacement effort. This path preserves the familiar public-key credential model, but inherits the size and computation overhead of post-quantum signatures, which can increase latency, traffic, and server-side load. KEM-based authentication offers a natural alternative to this signature-centric path, and SSH makes this especially attractive at the user-authentication layer, which is method-extensible, separated from transport-layer key exchange and host-key authentication, and already protected by the established channel.

We present a drop-in KEM-based user-authentication method for SSH that replaces client public-key signatures with a session-bound challenge-response proof. The method fits into SSH's existing user-authentication framework, preserving the public-key credential model and enabling incremental deployment alongside existing methods. We provide a reduction-based security argument in the post-quantum ACCE framework, implement the design in OpenSSH using liboqs, and evaluate it under representative RTTs, TCP initial-window settings, and post-quantum migration configurations. Our results show that KEM-based authentication is competitive with compact signature-based authentication under representative network settings, while reducing median handshake latency by up to about 10% against large-signature hybrid baselines. The advantages are clearer when post-quantum signatures stress transmission or computation: median latency under small TCP initial windows falls by up to 7.3% versus ML-DSA and 17.9% versus SLH-DSA, while server-side online cryptographic cost is 59.1% lower than that for ML-DSA in the same NIST category.

Index Terms—post-quantum SSH, KEM-based authentication, user authentication, ACCE security.

I. INTRODUCTION

The Secure Shell (SSH) protocol is widely deployed for secure remote administration. Its security relies on public-key mechanisms to establish the encrypted transport channel, authenticate the server, and commonly authenticate users through public-key credentials inside that channel [1]-[3]. As quantum computing threatens the assumptions underlying these mechanisms, SSH deployments and standards are beginning to migrate toward post-quantum cryptography [4].

This transition has so far been asymmetric. On the key-exchange side, post-quantum KEMs fit the role of establishing fresh shared secrets, and SSH has already begun to adopt them. OpenSSH has deployed transport-layer methods such as mlkem768x25519-sha256 [5], and related SSH key-exchange mechanisms are moving through standardization [6], [7]. Authentication has followed a more conservative path. Existing prototypes and standardization efforts largely preserve the publickey method by replacing classical signatures, such as Ed25519 [8] and RSA [9], with post-quantum signatures. This path is easy to integrate, but it also makes authentication inherit their size and verification profile. Prior measurements show that signature-based post-quantum SSH handshakes can increase latency by up to 50% in the worst case under realistic network conditions, especially when large authentication objects exceed the TCP initial congestion window [10], [11]. Password authentication avoids client-side signatures, but gives up the registered public-key credential model and its public-key proof-of-possession property. SSH therefore lacks a non-signature option with these properties [10].

KEMs provide a natural basis for authentication because encapsulation to a registered public key allows only the corresponding secret-key holder to derive the secret needed for a session-bound response. Signature-free authentication has long appeared in AKE and secure-channel designs [12]–[16], and recent post-quantum work has turned it into practical protocol designs [17], [18]. These designs show that KEM-based authentication can reduce bandwidth and server CPU costs in post-quantum settings, as illustrated by KEMTLS and the AuthKEM IETF draft [18], [19]. However, they typically integrate KEM credentials into the handshake or key schedule, so deployment requires changes to core protocol messages, transcript binding, key derivation, and interoperability mechanisms.

Extended version of the paper accepted at IEEE ICNP 2026. © 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

nisms in existing implementations.

SSH makes this picture less rigid. Its architecture separates user authentication from the transport handshake that establishes the encrypted channel and authenticates the server. By the time user authentication begins, the channel keys and session identifier have already been established, and the authentication exchange runs inside the protected channel [20], [21]. At the same time, this layer is method-extensible and policy-driven [21], and SSH already accommodates challenge-response mechanisms such as keyboard-interactive [22]. This combination of separation and extensibility suggests a more local path for bringing KEM-based authentication into SSH within its existing authentication framework.

References (56)