initShell method
Implementation
void initShell(ssh_session session, Pointer<ssh_channel_struct> channel) {
int rc = 0;
rc = ssh_channel_request_pty(channel);
//rc = ssh_channel_change_pty_size(channel, 80, 24);
rc = ssh_channel_request_shell(channel);
if (rc != SSH_OK) {
throw Exception(
'Error on ssh_channel_request_shell: ${ssh_get_error(session.cast()).cast<Utf8>().toDartString()}');
}
}