requestExec

open suspend override fun requestExec(command: String): Boolean(source)

Request execution of a command on this session channel (RFC 4254 section 6.5).

Only one of requestShell, requestExec, or subsystem requests may succeed per session channel.

Return

true if the server accepted the request

Parameters

command

The command to execute on the remote server