pod.epiccastle.bbssh.channel-exec
Creates and calls the various methods of a ChannelExec that exists on the pod heap.
connect
(connect channel)
disconnect
(disconnect channel)
get-error-stream
(get-error-stream channel)
get-exit-status
(get-exit-status channel)
get-id
(get-id channel)
get-input-stream
(get-input-stream channel)
get-output-stream
(get-output-stream channel)
is-closed
(is-closed channel)
is-connected
(is-connected channel)
is-eof
(is-eof channel)
send-signal
(send-signal channel signal)
set-agent-forwarding
(set-agent-forwarding channel enable)
set-command
(set-command channel command)
set-env
(set-env channel name value)
set-error-stream
(set-error-stream channel error-stream dont-close?)
(set-error-stream channel error-stream)
set-input-stream
(set-input-stream channel input-stream dont-close?)
(set-input-stream channel input-stream)
set-output-stream
(set-output-stream channel output-stream dont-close?)
(set-output-stream channel output-stream)
set-pty
(set-pty channel enable)
set-pty-size
(set-pty-size channel col row width-pixels height-pixels)
set-pty-type
(set-pty-type channel terminal-type)
(set-pty-type channel terminal-type col row width-pixels height-pixels)
set-terminal-mode
(set-terminal-mode channel terminal-mode)
set-x-forwarding
(set-x-forwarding channel enable)
wait
(wait channel & [timeout])
waits until a ssh exec remote process has finished executing and then returns the exit code. Optionally pass a timeout value in milliseconds. If the timeout is reached and the process has not finished then returns nil
.