Open Charging Technology · Whitepapers

ISO 15118 over SSH

Version 0.2, Concept paper, draft for discussion, 2026-11-28 CC-BY-SA 4.0 · OpenChargingTechnology/Whitepapers · intended reference implementations: Vanaheimr/Hermod (SSH stack), OpenChargingCloud/WWCP_ISO15118 (EXI codec, session state machines, SECC and EVCC), OpenChargingCloud/ISO15118ConformanceTests (tests)

ISO 15118 protects the link between a vehicle and a charging station with TLS: optionally with TLS 1.2 in ISO 15118-2, mandatorily with TLS 1.3 in ISO 15118-20. The vehicle authenticates the station by a certificate chain that ends in a V2G root it carries, and checks the chain's validity against a clock it may not have. Where both sides belong to the V2G PKI, this works. A bus depot, a wallbox at home, a fleet of delivery vans and their chargers, a test bench, a V2G pilot and a laboratory usually do not: they run TLS with a test PKI, with certificate checks switched off, or without TLS at all.

SSH solves the same problem with less, as it does for OCPP in OCPP over SSH: a host key the vehicle pins, a key pair per vehicle where the vehicle is to be recognised, no clock, and algorithms that are negotiated rather than fixed by an edition of a standard. This paper proposes how an SECC offers ISO 15118 over SSH instead of TLS, unchanged above the transport:

Whether there should be one subsystem or one per part of ISO 15118 was the first question of this paper; chapter 3 discusses it, and one subsystem was decided.

Status: a concept for discussion. The binding is not implemented yet; how the SECCs in the field answer the proposed SDP value was measured on 2026-11-28 (section 4.1). Two questions were decided that day (chapter 13): one subsystem, and pairing by QR code for private stations; the others are open. The subsystem name and the SDP value are private proposals; ISO 15118 itself requires TLS where this paper uses SSH, and a session over SSH is therefore not a conformant ISO 15118 session (section 6.5).

Contents

  1. Motivation
  2. Design
  3. One subsystem or several
  4. Discovery
  5. The session
  6. Identity and trust
  7. Algorithms
  8. Sharing the SSH connection
  9. An SECC that is not in the station
  10. Configuration
  11. Security considerations
  12. Implementation outline
  13. Questions for discussion
  14. Relation to other white papers

1. Motivation

DIN SPEC 70121 ISO 15118-2 ISO 15118-20
Transport security none TLS 1.2, or none (SDP 0x10) TLS 1.3, always
Cipher suites - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256 ([V2G20-2458], [V2G20-2459])
Key exchange groups - secp256r1 secp521r1, x448 ([V2G20-1634], [V2G20-1637])
Station authenticated by nothing SECC certificate, chain to a V2G root SECC certificate, chain to a V2G root
Vehicle authenticated by nothing nothing on the transport a vehicle certificate, where the EVCC presents one
Correct clock needed no yes, in the vehicle yes, in the vehicle

Above the transport, Plug & Charge signs and verifies at the application layer: the contract certificate chain, the signed AuthorizationReq, the signed meter receipt, the signed sales tariffs and price schedules. None of this depends on the transport; what depends on it is that the challenge the vehicle signs comes from the station it is plugged into, and that nobody on the link reads or changes the messages.

1.2 Where it hurts

1.3 What SSH brings

1.4 Where it is meant for

Scenario Station authenticated by Vehicle authenticated by
Depots and fleets: buses, trucks, delivery vans and the operator's own chargers the operator's SSH host CA the operator's SSH user CA, or a key per vehicle
Home and workplace: one wallbox, a few known cars a host key pinned from the station's QR code (section 6.6) a key enrolled in the same pairing
V2G pilots with a known set of vehicles and stations pin or SSH CA key per vehicle
Test benches, laboratories, conformance tests, simulators pin key, or none
An SECC outside the station (chapter 9) the host key of the remote SECC as above
Public charging an X.509 SECC certificate in SSH (RFC 6187), or not at all none; Plug & Charge at the application layer, as today

Public charging is the last row on purpose. Where the V2G PKI is available on both sides, TLS remains the interoperable choice, and this paper does not try to replace it there.

1.5 Non-goals


2. Design

2.1 Layers

EXI document      SupportedAppProtocolReq, SessionSetupReq, ...        (unchanged)
     │
V2GTP frame       01 FE · payload type · length · EXI                   (unchanged)
     │
subsystem         "iso15118@open.charging.cloud" on a "session" channel (RFC 4254, section 6.5)
     │
SSH connection protocol   channels, flow control                       (RFC 4254)
SSH user authentication   "none", or the vehicle's public key           (RFC 4252)
SSH transport             host key, key exchange, encryption            (RFC 4253)
     │
TCP               to the address and port of the SDP response           (unchanged)
IPv6 link-local   on the PLC, wireless or 10BASE-T1S link after SLAC    (unchanged)

Compared with TLS, the SSH channel takes exactly the place of the TLS record layer: a reliable, ordered, encrypted and authenticated byte stream in each direction. V2GTP already frames that stream, with an 8-byte header that carries the payload type and the length. So, unlike OCPP over SSH, which needs frames of its own because a WebSocket had them, this binding needs none: the channel carries the bytes a TLS connection would carry as application data, and nothing else.

2.2 Decisions and rejected alternatives

Alternative Proposal Why
Port forwarding (direct-tcpip) to the SECC's plain TCP port rejected The SECC behind the forward sees a connection from localhost and no identity; a vehicle login that may forward may forward anywhere. The authentication of the vehicle would not reach the session.
exec of a fixed command rejected It mixes the protocol name with a command line of the server and is harder to confine than a subsystem.
A channel type of its own instead of session plus subsystem rejected Generic SSH clients and libraries open subsystems, rarely custom channel types, and OpenSSH cannot hand a custom channel type to an external program (appendix B).
A framing protocol with a HELLO and WELCOME, as for OCPP rejected V2GTP is the framing, and SupportedAppProtocol is the handshake. A second negotiation inside the channel would only be a second place to disagree.
TLS inside the SSH channel rejected Two transports, two trust models, two sets of algorithms, and the PKI problem of section 1.2 unchanged.
V2GTP frames, unchanged, in a subsystem channel proposed The stack above the transport stays as it is. The SECC accepts a stream from an SSH channel where it accepted one from a TLS listener.

3. One subsystem or several

3.1 What has to be negotiated

Three things are chosen before the first SessionSetupReq, at three layers:

What Chosen by Today
the transport: TLS, plain TCP, or SSH SDP, its security field 0x00 TLS, 0x10 plain TCP
the protocol and its version: DIN SPEC 70121, ISO 15118-2, ISO 15118-20 SupportedAppProtocol, by namespace and priority urn:din:70121:2012:MsgDef, urn:iso:15118:2:2013:MsgDef, and for -20 one namespace per energy transfer service
for ISO 15118-20, the service: AC, DC, WPT, ACDP, and their bidirectional variants SupportedAppProtocol, again by namespace urn:iso:std:iso:15118:-20:AC, …:DC, …:WPT, …:ACDP

A subsystem name could take over part of the second and third rows. That is the question.

3.2 Option A: one subsystem for all parts

iso15118@open.charging.cloud carries any session that SupportedAppProtocol can start: DIN SPEC 70121, ISO 15118-2 and ISO 15118-20. The vehicle always opens the same name and sends its SupportedAppProtocolReq as its first frame, as it would over TLS.

3.3 Option B: one subsystem per part

din70121@open.charging.cloud, iso15118-2@open.charging.cloud and iso15118-20@open.charging.cloud. The vehicle opens the part it wants to speak.

3.4 Option C: one subsystem per namespace

One name per SupportedAppProtocol namespace (iso15118-20-dc@…, iso15118-20-ac@…, …) would replace SupportedAppProtocol entirely. Rejected: it changes every state machine, which would no longer start with SupportedAppProtocol, and the list of names grows with every new service (AC_DER_IEC, AC_DER_SAE, …) and every schema version.

3.5 Comparison

A: one subsystem B: one per part
Change of the session stack none: a stream from a channel instead of a TLS stream SupportedAppProtocol restricted per subsystem; the state machines learn the subsystem name
Round trips until the first SessionSetupReq one subsystem request one per part tried
Where the version is chosen in SupportedAppProtocol, as today in the subsystem name and in SupportedAppProtocol, which must agree
Routing to different implementations the server reads the SupportedAppProtocolReq and hands the stream on, as EVerest's IsoMux routes between its ISO 15118-20 and its DIN/-2 stacks today the SSH server routes by name, e.g. sshd starts a different program per subsystem
Confinement per part ("this login may speak ISO 15118-20 only") an access rule on the namespaces SupportedAppProtocol may select (section 6.2) an access rule on subsystem names, which every SSH server has
The transport rule of ISO 15118-20 (section 6.5) applied in SupportedAppProtocol, as for TLS applied in SupportedAppProtocol, as for TLS
Behind OpenSSH (appendix B) one helper that speaks all parts, or reads SupportedAppProtocol one helper per part, each a plain relay

3.6 Decision

Option A: one subsystem, iso15118@open.charging.cloud, for every part (decided 2026-11-28).

What would have spoken for option B is a deployment in which separate programs serve separate parts behind OpenSSH, and no program can be put in front of them that reads SupportedAppProtocol.

3.7 The subsystem


4. Discovery

4.1 A new value of the SDP security field

The EVCC finds the SECC by SDP: it multicasts an SDP_Request (V2GTP payload type 0x9000) whose first octet states the security it wants, and the SECC answers with an SDP_Response (0x9001) carrying its link-local address, its port, the security it offers and the transport protocol.

Value Meaning Defined by
0x00 TLS ISO 15118-2, ISO 15118-20
0x10 no transport security ISO 15118-2; not permitted for ISO 15118-20
0x20 SSH, iso15118@open.charging.cloud this paper, proposed

4.2 Port and address

4.3 Without SDP

Test benches, simulators and the remote SECC of chapter 9 may skip SDP and dial a configured address and port, as the reference implementation's FixedSeccDiscovery does for TCP today.


5. The session

5.1 Sequence

sequenceDiagram
    participant EV as EVCC (SSH client)
    participant SE as SECC (SSH server)
    Note over EV,SE: SLAC: the vehicle joins the station's logical network
    EV->>SE: SDP_Request  Security 0x20, Transport 0x00   (UDP multicast)
    SE-->>EV: SDP_Response  fe80::…, port, Security 0x20, Transport 0x00
    EV->>SE: TCP connect
    EV->>SE: SSH transport: KEXINIT, key exchange
    SE-->>EV: host key, signature over the exchange hash
    Note over EV: verify the host key (section 6.1)
    EV->>SE: SSH user authentication: "none", or "publickey" with the vehicle's key
    EV->>SE: CHANNEL_OPEN "session", then "subsystem" iso15118@open.charging.cloud
    SE-->>EV: CHANNEL_SUCCESS
    EV->>SE: V2GTP 0x8001  SupportedAppProtocolReq
    SE-->>EV: V2GTP 0x8001  SupportedAppProtocolRes
    EV->>SE: V2GTP  SessionSetupReq
    Note over EV,SE: … the session, unchanged …
    EV->>SE: V2GTP  SessionStopReq
    SE-->>EV: V2GTP  SessionStopRes
    EV->>SE: CHANNEL_EOF, CHANNEL_CLOSE, DISCONNECT

5.2 Bytes in the channel

5.3 The end

Over TLS Over SSH
close_notify, TCP FIN SSH_MSG_CHANNEL_EOF, then SSH_MSG_CHANNEL_CLOSE
TCP connection closed after SessionStopRes channel closed, then SSH_MSG_DISCONNECT with reason 11 (by application)
TCP reset, or the link lost the SSH connection lost: the session is lost, as today

A closed channel ends the ISO 15118 session exactly as a closed TLS connection does. The SSH connection ends with its last ISO 15118 channel, unless a channel of chapter 8 is still open; the SECC closes those when the vehicle unplugs, i.e. when it would close the TCP connection today.

5.4 Timing

ISO 15118 bounds the time between SDP and the first V2G message, and the time a message may take. Over SSH, everything from the TCP connect to CHANNEL_SUCCESS counts as the TLS handshake would.

Step Round trips
TCP 1
SSH version strings and KEXINIT (sent by both sides at once) 1
key exchange, NEWKEYS 1
SERVICE_REQUEST ssh-userauth 1
user authentication: none, or publickey with the signature in the first request 1
CHANNEL_OPEN 1
subsystem 1
total, before the first V2GTP frame 7, against 2 for TLS 1.3 and 3 for TLS 1.2

On a PLC link the round trip is a few milliseconds, so the difference is well under 100 ms and far inside the communication setup time ISO 15118 allows. The cost that matters on an embedded SECC is the same in both: one signature of the server, and on the vehicle the verification of a key or a chain. SSH_MSG_EXT_INFO (RFC 8308) adds no round trip.

5.5 Pause and resume


6. Identity and trust

6.1 How the station proves it

Mechanism Trust anchor in the vehicle Needs a correct clock Suitable for
Pinned host key the SHA-256 fingerprint of each station, or of a few no home, workplace, small depots, test benches
SSH host certificate (OpenSSH certificates) one CA key of the operator only with a limited validity depots and fleets: new chargers without touching the vehicles
X.509 SECC certificate in SSH (RFC 6187, x509v3-ecdsa-sha2-nistp256 or -nistp521) the V2G roots the vehicle already carries yes, as today public charging with the V2G PKI; the same chain as over TLS
Opportunistic: any host key, recorded but not verified none no ISO 15118-2 and DIN SPEC 70121 with EIM, where the alternative is plain TCP (below)

6.2 How the vehicle proves it

Method What the station learns Suitable for
none nothing beyond what ISO 15118 itself sends (the EVCCID in SessionSetupReq) public charging; any vehicle that is not to be recognised
publickey, a key of the vehicle's own that it is the vehicle the key was enrolled for home, workplace, small fleets
publickey, an SSH user certificate that the operator's CA vouches for the vehicle, and as whom (the principal) depots and fleets
publickey, an X.509 vehicle certificate (RFC 6187) what mutual TLS with the vehicle certificate shows in ISO 15118-20 OEM-provisioned vehicles

6.3 Privacy

6.4 Plug & Charge

Plug & Charge needs no change: the contract certificate chain, AuthorizationReq and its signature, certificate installation and update, signed meter receipts and sales tariffs are application-layer, and travel through the channel as through TLS. What Plug & Charge needs from the transport is that the challenge comes from an authentic station and that nobody on the link reads the messages. So:

6.5 ISO 15118-20 requires TLS 1.3

ISO 15118-20 says in three places that it rides on TLS 1.3 only: the EVCC shall not offer it in the SupportedAppProtocolReq on a connection with TLS 1.2 or lower or on plain TCP ([V2G20-1237]), the SECC shall not select it there ([V2G20-2356]), and both from the SDP side ([V2G20-1805], Table 5). An SSH connection is none of the connections the table lists. Taken literally, ISO 15118-20 is not permitted over SSH at all.

This paper proposes a profile, not a reading of the standard:

Whether a future edition of ISO 15118 should name SSH beside TLS 1.3 is question 3.

6.6 Pairing by QR code

A private PKI is the hardest part of TLS for a private station: a CA to run, a sub-CA per operator, certificates to renew, roots to install in the vehicle, and a clock to check them. A QR code replaces all of it for the station's side.


7. Algorithms

7.1 What the TLS profiles of ISO 15118 map to

ISO 15118-20 over TLS 1.3 SSH equivalent ISO 15118-2 over TLS 1.2 SSH equivalent
Key exchange secp521r1, x448 ecdh-sha2-nistp521 (RFC 5656), curve448-sha512 (RFC 8731) ECDHE or static ECDH over secp256r1 ecdh-sha2-nistp256
Signatures ecdsa_secp521r1_sha512, ed448 ecdsa-sha2-nistp521, ssh-ed448 (RFC 8709) ECDSA over secp256r1 ecdsa-sha2-nistp256
Encryption AES-256-GCM, ChaCha20-Poly1305 aes256-gcm@openssh.com, chacha20-poly1305@openssh.com AES-128-CBC with HMAC-SHA256 aes128-gcm@openssh.com
Post-quantum key exchange none mlkem768x25519-sha256, sntrup761x25519-sha512 none the same

7.2 Proposal


8. Sharing the SSH connection

The connection is the vehicle's to the station, not ISO 15118's: the session is one channel of it. Two further services fit the link.

8.1 Authenticated time

A vehicle checks the validity of certificates, contract certificates and signed price schedules against its clock. Where the host key is pinned or vouched for by an SSH CA without expiry, the connection is authenticated without a clock, and can then give the vehicle one: the subsystem ntske/1@open.charging.cloud of NTS Key Establishment over SSH, on the same connection, followed by NTS-protected NTP to the station or to the time server it names. The vehicle then validates the X.509 chains of Plug & Charge against a time it got from a station it authenticated without one.

With an X.509 host key (section 6.1) this is circular, as it is over TLS: the chain's validity is checked against the clock the connection would deliver.

8.2 Value-added services

ISO 15118-2 lets an SECC offer value-added services, among them Internet access, which the vehicle then uses through the station as its router. Over SSH, a station can offer the same without routing the vehicle into any network: the vehicle opens direct-tcpip channels (RFC 4254, section 7.2) to the destinations the station's policy names, e.g. the OEM's backend on port 443, and to nothing else. The station's own networks stay closed to the vehicle, and every forward is attributable to the login that opened it.

8.3 What a vehicle's login may open

Service Default Section
iso15118@open.charging.cloud yes 3.7
ntske/1@open.charging.cloud where the station has a time server, and the host key is pinned or vouched for by an SSH CA 8.1
direct-tcpip to named destinations no 8.2
shell, exec, sftp, tcpip-forward, agent and X11 forwarding never 6.2

9. An SECC that is not in the station

The SECC need not run in the station's controller. It may run on a separate communication module, on a Local Controller, in a test environment that drives a real station's PLC modem, or, as The ISO 15118 Tunnel discusses for diagnostics, in the backend. SSH separates two cases cleanly:


10. Configuration

10.1 The vehicle

Setting Values Meaning
Transport SSH, TLS, SSHThenTLS, TLSThenSSH what the EVCC asks for in SDP, and in which order it falls back (section 4.1)
AllowPlainTCP true, false whether it may continue without transport security, where ISO 15118-2 permits that
HostKeyPins SHA-256 fingerprints, per station or station set section 6.1
HostCAs SHA-256 fingerprints of SSH CA keys section 6.1
X509HostKeys true, false whether an RFC 6187 host key chain is checked against the vehicle's V2G roots
Opportunistic true, false whether a host key nothing vouches for is accepted, for ISO 15118-2 and DIN SPEC 70121 EIM only (section 6.1)
ClientKeys per operator, with the pins or CAs each key is for section 6.3; none means none

A vehicle never falls back from SSH to a weaker transport because a host key was refused. A refused host key ends the attempt; only an SECC that does not offer SSH at all leads to the fallback.

10.2 The station

Setting Meaning
host keys and, where used, the host certificate or X.509 chain section 6.1
AcceptNone whether vehicles may sign in anonymously (public charging: yes)
enrolled vehicle keys and user CAs, each with its authorization and its rules (namespaces, services, forwards) section 6.2
OfferSSH whether SDP answers 0x20 (section 4.1)

For OCPP 2.x, these would become variables of the component ISO15118Ctrlr and of an SSH component of the kind OCPP over SSH proposes as SSHClientController, with the vehicle keys installed and withdrawn as station logins are there. That mapping is not part of this version of the paper.


11. Security considerations

11.1 Downgrade

SDP is unauthenticated. An attacker on the link can answer a request for 0x20 with 0x00 or 0x10, or suppress the SECC's answer. Only the vehicle can defend against this, by its configuration: a vehicle that knows the station speaks SSH (a pinned station, an operator's depot) does not fall back. A vehicle that does fall back is exactly as safe as without this paper.

11.2 Authentication

11.3 Confinement and separation

11.4 Denial of service

An SSH handshake costs the SECC a signature and a key exchange, as a TLS handshake does. The SECC accepts one SSH connection per EVSE at a time, with a short timeout until the subsystem request, and none while a session is running on that EVSE. The link is the vehicle's cable, so the attacker of concern is on the cable or coupled into it.

11.5 Diagnostics

A capture of an SSH session, as The ISO 15118 Tunnel records TLS sessions with their keying material, needs the shared secret of each connection. Wireshark can decrypt SSH given a key log of these secrets; an SECC that offers such a log offers it under the same constraints as its TLS key log.


12. Implementation outline

Nothing of the binding is built; the SDP measurement of section 4.1 is. What the reference implementations would need:

Repository What Exists today
Hermod SSH server and client, subsystems, PermittedSubsystems, the client's OpenSubsystemAsync, strict KEX, mlkem768x25519-sha256, sntrup761x25519-sha512, ecdh-sha2-nistp521, ecdsa-sha2-nistp521, OpenSSH certificates, the SSH exporter yes, from OCPP over SSH and NTS over SSH
Hermod curve448-sha512, ssh-ed448 signatures, RFC 6187 host and user keys no
WWCP_ISO15118 SDP SDP_Security.SSH = 0x20; SECC_SDPServer answering per request instead of with one OfferedSecurity; SdpSeccDiscovery asking for 0x20 and falling back as configured no
WWCP_ISO15118 Session, transport an SshV2GListener and SshV2GClient beside TcpV2GListener and TcpV2GClient, each handing out the channel as the Stream the session already takes no; TcpV2GListener.AcceptAsync already returns a plain Stream
WWCP_ISO15118 Session, negotiation TransportSecurity.SshAuthenticated and SshOpportunistic; Iso20Transport.MayCarryIso20 for the first only (section 6.5) TransportSecurity and Iso20Transport exist
WWCP_ISO15118 Session, state machines the resume binding of section 5.5 with the SSH key in place of the TLS certificate the binding for TLS
SECC and EVCC programs --transport ssh, host keys, pins, vehicle keys no
ISO15118ConformanceTests the SDP 0x20 probe against every counterparty (section 4.1) yes, 2026-11-28
ISO15118ConformanceTests loopback end-to-end sessions over SSH for DIN SPEC 70121, ISO 15118-2 and ISO 15118-20; negative cases (foreign host key, opportunistic key with -20 or Plug & Charge, shell and forwarding by a vehicle login, a second iso15118@ channel, an SDP echo of 0x20 in front of a plain TCP server); OpenSSH as the transport in front of a counterparty (appendix B) no

The state machines, the EXI codec and the session corpus need no change, which is the point of section 2.1: the existing loopback and corpus tests would run unchanged over the new transport.


13. Questions for discussion

13.1 Decided

Decided on 2026-11-28:

13.2 Open

The numbers are those of version 0.1; question 1 became D1.

  1. The SDP value. Proposal: 0x20 for SSH, to be coordinated before shipping (section 4.1). The SECCs of the interop matrix tolerate it (measured 2026-11-28); one echoes it, which the banner rule of section 4.1 covers. The alternative is no SDP change at all and a configured port, which excludes every vehicle that does not know the station beforehand. Open: whether the value should be 0x20, and who assigns it.
  2. ISO 15118-20 over SSH. Proposal: a private profile that permits it with an authenticated host key and strict KEX, and says that such a session is not conformant (section 6.5). Open: whether "as strong as the -20 profile" means its exact curves (secp521r1, x448) or its strength, which would admit the post-quantum hybrid with x25519 (section 7.2); and whether to propose SSH to a future edition.
  3. Login name. Proposal: ev, the key being the identity; the vehicle's id only where a fleet's server has one account per vehicle (section 6.2).
  4. A key as EIM authorization. How the SECC reports it to its CSMS: as an IdToken with the key's fingerprint, of which type (section 6.2).
  5. Opportunistic host keys. Proposal: permitted for ISO 15118-2 and DIN SPEC 70121 EIM, as better than the plain TCP in use today. The alternative is to permit authenticated host keys only, which keeps the rule simpler and leaves those sessions in plain TCP.
  6. Public charging. Whether RFC 6187 is worth supporting, or public charging is left to TLS for good (section 6.1).
  7. A relayed session (chapter 9): how a station tells a remote SECC which EVSE a channel belongs to and how the vehicle authenticated.
  8. Value-added services over direct-tcpip (section 8.2): in this paper or a paper of their own.
  9. Standardization. A private specification for now. Once there is an implementation on both sides and field experience, a proposal to the ISO 15118 working group and to CharIN's testing events.
  10. The QR code's format (section 6.6): a URI of its own, an ssh:// URI with a fingerprint parameter, or a field of an existing station QR code such as the one of Secure Dynamic QR Codes; and what it carries besides the fingerprint.
  11. Enrolling the vehicle's key in the same pairing (section 6.6): how the vehicle proves the one-time pairing code, bound to the session; and whether a household needs it at all, or the station simply enrols the first key that signs in within a few minutes of the code being shown.

14. Relation to other white papers

References

Requirement identifiers are cited, never their text. Citations of ISO 15118-20 rest on the FDIS, those of ISO 15118-2 on the 2022 DIS revision, with the caveat that normative-basis.md of ISO15118ConformanceTests explains.


Appendix A: Test vectors

A.1 SDP request for SSH

01 FE 90 00 00 00 00 02   V2GTP: version 1, payload type 0x9000 (SDP request), length 2
20                        Security: SSH (proposed)
00                        Transport: TCP

A.2 SDP response offering SSH

From an SECC at fe80::1 whose SSH server listens on port 50000:

01 FE 90 01 00 00 00 14                            V2GTP: payload type 0x9001 (SDP response), length 20
FE 80 00 00 00 00 00 00 00 00 00 00 00 00 00 01    SECC address fe80::1
C3 50                                              port 50000
20                                                 Security: SSH (proposed)
00                                                 Transport: TCP

A.3 The first octets of the channel

The first SSH_MSG_CHANNEL_DATA the EVCC sends after CHANNEL_SUCCESS carries a SupportedAppProtocolReq exactly as over TLS. This one offers ISO 15118-2 and is taken from the session corpus of the reference implementation (vectors/Session.iso2-ac-eim-meter.trace.json, exchange 0):

01 FE 80 01 00 00 00 24                            V2GTP: payload type 0x8001, length 36
80 00 EB AB 93 71 D3 4B 9B 79 D1 89 A9 89 89 C1    EXI: SupportedAppProtocolReq
D1 91 D1 91 81 89 99 D2 6B 9B 3A 23 2B 30 02 00         urn:iso:15118:2:2013:MsgDef, 2.0
00 04 00 40

and the SECC answers in the same channel:

01 FE 80 01 00 00 00 04   80 40 00 40              SupportedAppProtocolRes: OK_SuccessfulNegotiation

A test of the binding replays the whole corpus over an SSH channel and compares the frames byte for byte with the TLS and TCP runs.


Appendix B: OpenSSH in front of an existing SECC and EVCC

Because the channel carries plain V2GTP, OpenSSH can put SSH in front of an SECC or EVCC that knows nothing of it, as long as that side can run without TLS. This is how the binding can be tested against independent stacks before any of them implements it. A sketch, not tested in this form:

B.1 On the station

An SECC listening in plain TCP on [::1]:61341, and sshd on the V2G link:

# /etc/ssh/sshd_config.d/v2g.conf
ListenAddress   fe80::1%eth1
Port            50000
Subsystem       iso15118@open.charging.cloud  /usr/bin/nc -6 ::1 61341

Match User ev
    DisableForwarding  yes
    PermitTTY          no
    ForceCommand       /usr/bin/nc -6 ::1 61341

B.2 In the vehicle

An EVCC that can be pointed at a fixed endpoint (section 4.3) in plain TCP:

socat TCP6-LISTEN:61341,bind=[::1],reuseaddr,fork \
      EXEC:"ssh -i ev_id_ed25519 -o StrictHostKeyChecking=yes -o UserKnownHostsFile=v2g_known_hosts -p 50000 -s ev@fe80::1%eth0 iso15118@open.charging.cloud"

The EVCC connects to [::1]:61341; each connection becomes one SSH connection and one iso15118@ channel to the station.


License

© 2026 GraphDefined GmbH

This document is published under the Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA 4.0). You are free to share, adapt, and build upon it, even for commercial purposes, as long as you give appropriate credit and distribute your work and contributions under the same license.

ISO 15118 and DIN SPEC 70121 are © ISO and DIN respectively. This paper cites their requirement identifiers and paraphrases what they oblige; it does not reproduce their text.