Ssh v2: how to use send_channel_request?

Hi,
Does anybody have some simple examples how to use the
send_channel_request?
E.g, after send some data/commands through send_data, how to actually
trigger the execution of them? The following does not work:

require ‘net/ssh’

$dir="/tmp/abcd"
Net::SSH.start(‘host’,‘user’) do |session|
session.open_channel do |chan|

  chan.send_data "mkdir #{$dir}\n"

#Is this the correct command??? chan.send_channel_request(“shell”)

chan.close
end

session.loop
end

Thanks!
Dan