title: Correct usage of NMSSH
body: <p>When a session is created, a shell is started and commands are written: no responses are recieved and the callback methods for the buffer is never called, what did i miss?:</p>
  
  <p>(Executing a single command using channel:execute works)</p>
  
  <pre><code>  -(void) createSessionWithAdress:(NSString*)address username:(NSString*)user   password:(NSString*)pass{
        session = [NMSSHSession connectToHost:address withUsername:user];
        if (session.isConnected) {
          [session authenticateByPassword:pass];
        if (session.isAuthorized) {
            NSError *err = nil;
            session.channel.delegate = self;
            //self.receiveView.text = [session.channel execute:@"ls" error:&amp;err]; // works
  
            [session.channel startShell:&amp;err];
            NSLog(@"Authentication succeeded");
         }
      }
  }
  
  
  
  
  - (void)channel:(NMSSHChannel *)channel didReadData:(NSString *)message{
      NSLog(@"Read data!");
      receiveView.text = [NSString stringWithFormat:@"%@   \n%@",receiveView.text,message];
  }
  
  - (void)channel:(NMSSHChannel *)channel didReadError:(NSString *)error{
      receiveView.text = [NSString stringWithFormat:@"%@    \n%@",receiveView.text,error];
  }
  
  - (BOOL)textFieldShouldReturn:(UITextField *)textField{
      NSLog(@"RETURN PRESSED");
      NSError* err = nil;
  
      bool commandSucess = [session.channel write:sendView.text error:&amp;err];
      [session.channel write:@"/n" error:&amp;err];
  
      if (commandSucess) {
          NSLog(@"Command written successfully");
      }else{
          NSLog(@"Command not written successfully");
      } 
      return YES;
  }
  </code></pre>