SessionExit

sealed interface SessionExit(source)

How the remote process on a session channel terminated (RFC 4254 section 6.10).

Inheritors

Types

Link copied to clipboard
data class Signal(val signalName: String, val coreDumped: Boolean, val errorMessage: String) : SessionExit

The remote process was terminated by a signal (exit-signal).

Link copied to clipboard
data class Status(val code: Long) : SessionExit

The remote process exited normally with code (exit-status).