code: public static Channel openChannel(Session session, ChannelType channelType) {
  		final Channel channel = createChannel(session, channelType);
  		try {
  			channel.connect();
  		} catch (JSchException e) {
  			throw new JschRuntimeException(e);
  		}
  		return channel;
  	}
docs: 打开Channel连接
  
  @param session Session会话
  @param channelType 通道类型，可以是shell或sftp等，见{@link ChannelType}
  @return {@link Channel}
  @since 4.5.2