public static boolean unBindPort(Session session, int localPort) {
		try {
			session.delPortForwardingL(localPort);
			return true;
		} catch (JSchException e) {
			throw new JschRuntimeException(e);
		}
	}
public static boolean unBindPort ( Session session , int localPort ) { try { session . delPortForwardingL ( localPort ) ; return true ; } catch ( JSchException e ) { throw new JschRuntimeException ( e ) ; } }
解除端口映射

@param session 需要解除端口映射的SSH会话
@param localPort 需要解除的本地端口
@return 解除成功与否