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