# File lib/net/ssh/connection/channel.rb, line 605
605:       def do_success
606:         if callback = pending_requests.shift
607:           callback.call(self, true)
608:         else
609:           error { "channel success recieved with no pending request to handle it (bug?)" }
610:         end
611:       end