code: public void startService(String servicename) throws SshException {
  
  		ByteArrayWriter baw = new ByteArrayWriter();
  		try {
  
  			baw.write(SSH_MSG_SERVICE_REQUEST);
  			baw.writeString(servicename);
  
  			if (Log.isDebugEnabled()) {
  				Log.debug(this, "Sending SSH_MSG_SERVICE_REQUEST");
  			}
  
  			sendMessage(baw.toByteArray(), true);
  
  			byte[] msg;
  
  			do {
  				msg = readMessage();
  			} while (processMessage(msg) || msg[0] != SSH_MSG_SERVICE_ACCEPT);
  
  			if (Log.isDebugEnabled()) {
  				Log.debug(this, "Received SSH_MSG_SERVICE_ACCEPT");
  			}
  		} catch (IOException ex) {
  			throw new SshException(ex, SshException.INTERNAL_ERROR);
  		} finally {
  			try {
  				baw.close();
  			} catch (IOException e) {
  			}
  		}
  
  	}
docs: Request that the remote server starts a transport protocol service. This
  is only available in CLIENT_MODE.
  
  @param servicename
  @throws IOException